Android: rotated display config not applied when an external monitor is hot-plugged
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Kevin DuBois | ||
0.13 |
Won't Fix
|
Medium
|
Kevin DuBois | ||
0.14 |
Won't Fix
|
Medium
|
Unassigned | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hardware: Android (Nexus 7), using slimport cable to drive external monitor.
Using Mir 0.13
The intention is to configure USC to clone the contents of the internal display to the external display (id=1), but with those contents rotated 90 degrees.
Check out revision 220 of lp:~unity-team/unity-system-compositor/toggle-cursor2/
I am implementing a DisplayConfigur
http://
I've got some print statements in there too.
On testing this, there are 2 cases:
1. Slimport cable connected at server startup
Here, the external monitor comes up rotated correctly. I see the debug statements print.
2. Slimport cable *not* connected at server startup
First off, I do not see my debug statement print at server start.
Secondly, when I do plug in the slimport cable, while I see my debug prints, the external monitor does not get rotated.
You can explicitly tell USC to rotate the external display with dbus (install qdbus-qt5 first):
qdbus --system com.canonical.
so rotation does work.
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Cemil Azizoglu (community): Approve
- Daniel van Vugt: Approve
-
Diff: 65 lines (+46/-1)2 files modifiedsrc/platforms/android/server/display.cpp (+1/-1)
tests/unit-tests/graphics/android/test_display.cpp (+45/-0)
Changed in mir: | |
assignee: | nobody → Kevin DuBois (kdub) |
Changed in mir: | |
status: | New → In Progress |
Changed in mir: | |
milestone: | none → 0.15.0 |
tags: | added: android multimonitor |
summary: |
- Android: unable to set a correct initial display configuration + Android: rotated display config not applied when an external monitor is + hot-plugged |
Changed in mir: | |
importance: | Undecided → Medium |
Changed in mir: | |
status: | Fix Committed → Fix Released |
probably related, at least in as much as the printfs go: https:/ /bugs.launchpad .net/mir/ +bug/1463873