[Bug] Page allowedOrientations do not precede ApplicationWindow allowedOrientations as docs indicate

asked 2015-03-07 20:29:34 +0200

Acce gravatar image

updated 2015-03-08 00:34:22 +0200

chemist gravatar image

Problem

The docs state: "If the current Page requires an orientation that the ApplicationWindow property does not allow, however, the Page orientation will be given precedence."

However, if ApplicationWindow property is set to, for example, Orientation.Portrait, any Page setting for example Orientation.All still can only have portrait orientation.

Example

https://github.com/Acce0ss/page-orientation-test In the example, regardless of the line at https://github.com/Acce0ss/page-orientation-test/blob/master/qml/orientationTest.qml#L38 , the FirstPage should be allowed to change orientation according to the documentation.

edit retag flag offensive close delete