Public bug reported: Oxide relies on the combination of QScreen::orientation() and QScreen::primaryOrientation() in order to determine the rotation angle of the device, which is used in Blink and also for correctly rotating the camera preview when the application is rotated.
However, the value returned from QScreen::primaryOrientation() also changes when the device is rotated, which I believe is unexpected. Qt calculates this based on the screen geometry, which means this is probably caused by qtubuntu swapping the width / height around when transitioning from portrait to landscape. ** Affects: qtubuntu (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtubuntu in Ubuntu. https://bugs.launchpad.net/bugs/1520670 Title: QScreen::primaryOrientation does not work correctly Status in qtubuntu package in Ubuntu: New Bug description: Oxide relies on the combination of QScreen::orientation() and QScreen::primaryOrientation() in order to determine the rotation angle of the device, which is used in Blink and also for correctly rotating the camera preview when the application is rotated. However, the value returned from QScreen::primaryOrientation() also changes when the device is rotated, which I believe is unexpected. Qt calculates this based on the screen geometry, which means this is probably caused by qtubuntu swapping the width / height around when transitioning from portrait to landscape. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtubuntu/+bug/1520670/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp