← Back to team overview

touch-packages team mailing list archive

[Bug 1471858] Re: Android: rotated display config not applied when an external monitor is hot-plugged

 

** Changed in: mir
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1471858

Title:
  Android: rotated display config not applied when an external monitor
  is hot-plugged

Status in Mir:
  Fix Released
Status in Mir 0.13 series:
  Won't Fix
Status in Mir 0.14 series:
  New
Status in mir package in Ubuntu:
  Fix Released

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 DisplayConfigurationPolicy like this:
  http://pastebin.ubuntu.com/11830210/
  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.Unity.Screen / com.canonical.Unity.Screen.overrideOrientation 1 90
  so rotation does work.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1471858/+subscriptions