Camera orientation wrong in windowed mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Michał Sawicz | ||
unity8 (Ubuntu) |
Fix Released
|
High
|
Albert Astals Cid |
Bug Description
Reproducible with flo on internal screen when forced to windowed mode or external screen.
The camera app sets the X-Ubuntu-
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:/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unity8 8.11+16.
ProcVersionSign
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)
Related branches
- Unity8 CI Bot: Approve (continuous-integration)
- Lukáš Tinkl (community): Approve
- Michał Sawicz: Abstain
- PS Jenkins bot: Pending (continuous-integration) requested
-
Diff: 234 lines (+100/-21)5 files modifiedqml/Stages/DecoratedWindow.qml (+34/-10)
qml/Stages/DesktopStage.qml (+37/-10)
tests/mocks/Unity/Application/ApplicationManager.cpp (+12/-0)
tests/mocks/Unity/Launcher/MockLauncherModel.cpp (+3/-0)
tests/qmltests/tst_OrientedShell.qml (+14/-1)
Changed in unity8 (Ubuntu): | |
assignee: | nobody → Albert Astals Cid (aacid) |
Changed in unity8 (Ubuntu): | |
status: | Triaged → In Progress |
Changed in canonical-devices-system-image: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → kevin gunn (kgunn72) |
milestone: | none → 11 |
Changed in canonical-devices-system-image: | |
milestone: | 11 → 12 |
Changed in canonical-devices-system-image: | |
assignee: | kevin gunn (kgunn72) → Michał Sawicz (saviq) |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Related: bug #1544010 and bug #1542395