After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 562316 - Panels do not update when multi-head screen layout changed using xrandr
Panels do not update when multi-head screen layout changed using xrandr
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
2.24.x
Other All
: Urgent critical
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks: randr-tracker
 
 
Reported: 2008-11-26 09:33 UTC by Alexander Dutton
Modified: 2009-02-26 20:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Screenshot of desktops after switching layout (367.06 KB, image/png)
2008-11-26 09:41 UTC, Alexander Dutton
Details

Description Alexander Dutton 2008-11-26 09:33:12 UTC
Please describe the problem:
I have two monitors, LVDS (1280x800, 'Laptop 13"') and VGA (1680x1050, 'SAMSUNG 22"'). When I change their relative layout using either xrandr or the Screen Resolution applet (eg. move LVDS from being on the left to being on the right), the panels do not take note of the new screen boundaries. This doesn't seem to happen when changing the rotation of a single-head set-up.

Steps to reproduce:
1. Use the screen resolution applet  or xrandr to configure LVDS to be to the left of VGA
2. Restart gnome-panel using 'killall gnome-panel'
3. Use the applet or xrandr to move LVDS to be to the right of VGA


Actual results:
Panels remain where they were and will only snap to the old boundaries. Any windows will only maximise to the space between them.

Expected results:
The panels update where their boundaries are and move/resize to be along them

Does this happen every time?
Yes

Other information:
Restarting gnome-panel
Comment 1 Alexander Dutton 2008-11-26 09:41:41 UTC
Created attachment 123410 [details]
Screenshot of desktops after switching layout

Here's a screenshot of the bug in action. The Banshee and Firefox windows are maximised. There is an empty panel down the right-hand side that was created on the larger screen before the switch. It now extends off the bottom of the laptop screen. The panels on the left-hand side should extend rightwards towards the 'Laptop 13"' label, and the bottom panel should be at the bottom of the image.

Also, in the 'Additional information' section I forgot to finish writing the following:
Restarting gnome-panel forces it to notice the new screen layout, fixing the problem.
Comment 2 Federico Mena Quintero 2009-02-26 20:01:40 UTC
There was a GTK+ bug fixed recently about GdkScreen not actually emitting the monitors-changed signal.  I'll close this; please reopen if the bug persists after the next release.