[Ubuntu-x-swat] [Bug 1504422] Re: Xmir: xrandr outputs information is lost after root window resize
** Description changed: [Impact] - Users trying to use xrandr on Xmir will get bogus info for the root - window after resizing it. + Users trying to use xrandr on Xmir will get bogus info for the attached + displays after resizing the root window. [Test Case] 1. Start up an X application through Xmir. 2. Type xrandr and observe output. 3. Resize the window. 4. Type xrandr again. Valid output should be given. [Regression Potential] None observed. Original Description: Xmir: xrandr outputs information is lost after root window resize (non-rootless mode) $ xrandr Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 32767 x 32767 VGA-0 disconnected DP-0 disconnected HDMI-0 disconnected DP-1 disconnected HDMI-1 disconnected DP-2 connected 1920x1200+0+0 520mm x 320mm 1920x1200@60.0Hz 59.88*+ DP-3 disconnected # Now I resize the root window in the Mir shell... $ xrandr Screen 0: minimum 320 x 200, current 1631 x 1098, maximum 32767 x 32767 -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1504422 Title: Xmir: xrandr outputs information is lost after root window resize To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1504422/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1504422] Re: Xmir: xrandr outputs information is lost after root window resize
** Description changed: - Xmir: xrandr outputs information is lost after root window resize (non- - rootless mode) + [Impact] + + Users trying to use xrandr on Xmir will get bogus info for the root + window after resizing it. + + [Test Case] + + 1. Start up an X application through Xmir. + 2. Type xrandr and observe output. + 3. Resize the window. + 4. Type xrandr again. + + Valid output should be given. + + [Regression Potential] + + None observed. + + + Original Description: + Xmir: xrandr outputs information is lost after root window resize (non-rootless mode) $ xrandr Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 32767 x 32767 VGA-0 disconnected DP-0 disconnected HDMI-0 disconnected DP-1 disconnected HDMI-1 disconnected DP-2 connected 1920x1200+0+0 520mm x 320mm 1920x1200@60.0Hz 59.88*+ DP-3 disconnected # Now I resize the root window in the Mir shell... $ xrandr Screen 0: minimum 320 x 200, current 1631 x 1098, maximum 32767 x 32767 -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1504422 Title: Xmir: xrandr outputs information is lost after root window resize To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1504422/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1504422] Re: Xmir: xrandr outputs information is lost after root window resize
This bug was fixed in the package xorg-server - 2:1.18.4-1ubuntu3 --- xorg-server (2:1.18.4-1ubuntu3) yakkety; urgency=medium * debian/patches/xmir.patch: - Fix bottom/right edge corruption. (LP: #1510849) - Fix key repeat. (LP: #1591356) - Don't delete outputs without replacing them. (LP: #1504422) (LP: #1602561) - Xmir -debug: Log WM types by name and number. - Implement fake GLX frame notification/timing. - Improve focus tracking. -- Robert Ancell Thu, 21 Jul 2016 11:42:03 +0200 ** Changed in: xorg-server (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1504422 Title: Xmir: xrandr outputs information is lost after root window resize To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1504422/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1504422] Re: Xmir: xrandr outputs information is lost after root window resize
https://git.launchpad.net/~xmir-team/xorg- server/+git/xmir/commit/?id=d19641fc01f77420b4ec5d6db6723f519f8f8272 ** Changed in: xorg-server (Ubuntu) Importance: Undecided => Medium ** Changed in: xorg-server (Ubuntu) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1504422 Title: Xmir: xrandr outputs information is lost after root window resize To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1504422/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1504422] Re: Xmir: xrandr outputs information is lost after root window resize
The issue is the code says it's inserting a fake output to replace the old ones, but no code has ever existed to actually do that :) if (!xmir_screen->windowed) { xmir_screen->windowed = 1; XMIR_DEBUG(("Root resized, removing all outputs and inserting fake output\n")); while (!xorg_list_is_empty(&xmir_screen->output_list)) { struct xmir_output *xmir_output = xorg_list_first_entry(&xmir_screen->output_list, typeof(*xmir_output), link); RRCrtcDestroy(xmir_output->randr_crtc); RROutputDestroy(xmir_output->randr_output); xmir_output_destroy(xmir_output); } } ** Changed in: xorg-server (Ubuntu) Assignee: (unassigned) => Daniel van Vugt (vanvugt) -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1504422 Title: Xmir: xrandr outputs information is lost after root window resize To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1504422/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1504422] Re: Xmir: xrandr outputs information is lost after root window resize
Reopened. If Unity8 is resizing Xmir then we'll hit this bug (which is usually harmless) however some sensitive apps might then fail to start -> bug 1602561 ** Changed in: xorg-server (Ubuntu) Status: Opinion => New ** Changed in: xorg-server (Ubuntu) Status: New => Triaged ** Changed in: xorg-server (Ubuntu) Status: Triaged => Confirmed -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1504422 Title: Xmir: xrandr outputs information is lost after root window resize To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1504422/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1504422] Re: Xmir: xrandr outputs information is lost after root window resize
Hmm, seems to be a feature actually... if (!xmir_screen->windowed) { xmir_screen->windowed = 1; ** Changed in: xorg-server (Ubuntu) Status: New => Opinion -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1504422 Title: Xmir: xrandr outputs information is lost after root window resize To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1504422/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp