Public bug reported:

Reproducible with flo on internal screen when forced to windowed mode or
external screen.

The camera app sets the X-Ubuntu-Rotates-Window-Contents=true flag in
its .desktop file, which means we don't rotate it in staged mode.

When rotating in windowed mode, however, we need to counter-rotate the
window contents (and report orientation to the app as appropriate).

The bug is two-fold:
a) viewfinder contents are rotated 90° to the right
b) camera UI thinks "bottom" is on the right edge

FWIW long term we should probably look at using things like
https://doc.qt.io/qt-5/qwindow.html#contentOrientation-prop to affect
this.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unity8 8.11+16.04.20160212-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-6.21-generic 4.4.1
Uname: Linux 4.4.0-6-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Feb 19 12:25:06 2016
SourcePackage: unity8
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: unity8 (Ubuntu)
     Importance: High
         Status: Triaged


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1547481

Title:
  Camera orientation wrong in windowed mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1547481/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to