← Back to team overview

desktop-packages team mailing list archive

[Bug 1491071] [NEW] Xmir doesn't update the screen size until something is actually rendered

 

Public bug reported:

In trying to get Compiz working under Xmir in Unity 8 desktop mode, I
have found that when a Mir window opens and then resizes to whatever
Unity 8 tells it to, the resize event does not get propagated down until
another resize event occurs.

For example, I start up an X app.  The Xmir window opens and is resized,
but internally, Xmir still reports the full screen size so when Compiz
starts, it thinks the surface size is the size of the physical display.

I'll include a patch that fixes this and we can discuss if it's a good
fix.

** Affects: xorg-server (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: xmir

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1491071

Title:
  Xmir doesn't update the screen size until something is actually
  rendered

Status in xorg-server package in Ubuntu:
  New

Bug description:
  In trying to get Compiz working under Xmir in Unity 8 desktop mode, I
  have found that when a Mir window opens and then resizes to whatever
  Unity 8 tells it to, the resize event does not get propagated down
  until another resize event occurs.

  For example, I start up an X app.  The Xmir window opens and is
  resized, but internally, Xmir still reports the full screen size so
  when Compiz starts, it thinks the surface size is the size of the
  physical display.

  I'll include a patch that fixes this and we can discuss if it's a good
  fix.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1491071/+subscriptions


Follow ups