← Back to team overview

touch-packages team mailing list archive

[Bug 1506846] Re: [multimonitor] nested server surface positioning incorrect

 

** 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/1506846

Title:
  [multimonitor] nested server surface positioning incorrect

Status in Mir:
  Fix Released
Status in Unity System Compositor:
  New
Status in mir package in Ubuntu:
  Fix Released

Bug description:
  Flo and Mir 0.17.

  For multimonitor, it appears USC often positions the 2 nested server surfaces on the same screen, as if noth surfaces are positioned at (0,0) in the virtual desktop space - and not side-by-side. This screenshot may not be the clearest:
  https://chinstrap.canonical.com/~gerboland/mm2.jpg
  but I got it through moving the egltriangle surface to the right, and it appeared on the left!

  Steps to repro:
  1. SSH into device and do: sudo stop lightdm
  2. You'll want your backllight back, mirbacklight didn't work for me, so I called this as root:
      echo 255 > /sys/devices/platform/msm_fb.591617/leds/lcd-backlight/brightness
  3. Run
  sudo unity-system-compositor --debug-without-dm --disable-inactivity-policy true --enable-hardware-cursor=true --debug-active-session-name=Test
      sudo chmod 777 /tmp/mir_socket
  4. Start nested server
      mir_demo_server --host /tmp/mir_socket --display-config sidebyside --launch-client /usr/bin/mir_demo_client_egltriangle
  You should see the spinny triangle.
  5. Now plug in the slimport cable. The display will flicker while the external display is being incorporated.
  6. Use 3 fingers, move the triangle surface to the right.

  Expected result:
  It should appear on the external display

  Actual result:
  It pops in on the left of the internal display. See screenshot above.

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