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
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1547481

Title:
  Camera orientation wrong in windowed mode

Status in unity8 package in Ubuntu:
  Triaged

Bug description:
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1547481/+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

Reply via email to