This might not be a bug - the Qt documentation says that the behaviour
of QScreen::primaryOrientation is platform dependent. Oxide has since
switched to using QScreen::nativeOrientation, which seems to provide
what we want.

-- 
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     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to