GNOME Bugzilla – Bug 681159
Wallpaper (and desktop) not aligned properly when plugging in/out external monitor
Last modified: 2012-10-07 16:25:05 UTC
Created attachment 220285 [details] Screenshot of the problem When I log in with my external display plugged in, everything works fine. The problem occurs when I plug in or plug out my external monitor. After the display configuration changes, gnome shell doesn't seem to know where the desktop should be alligned. To make this clear, I have uploaded this screenshot: http://i.imgur.com/HqKfU.jpg Left you can see my 1600x900 laptop screen, and on the right is my external 1920x1080 screen after plugging in my external monitor. Also, the right mouse button menu doesn't work outside the centered middle background image, and it is not possible to place any icons outside this image. This problem only exists in Gnome shell (not in Unity and Gnome classic). I think this problem can be solved by reseting the desktop area like it does when logging in, but I am unfortunately not experienced enough to fix this by myself. Asus Zenbook UX31 Ubuntu 12.04
I have this problem too. Restarting the shell via 'Alt+F2' does not fix the issue. MacBook Pro 8.2 Radeon HD 6400M Ubuntu 12.04
I think, I have figuerd out the problem. The wallpaper is lined out correctly, the problem is the Nautilus desktop. Workaround after plugging in screen (just restarting nautilus): $ killall nautilus $ nautilus& As a permanent fix, you can also disable the nautilus desktop completely. GnomeTweakTool (Advanced settings) --> Desktop --> Have file manager to handle desktop --> OFF Maybe a developer can implement a nautilus-restart after a change in the display configuration in Gnome 3?
More appropriately, this is an issue with gnome-bg in gnome-desktop. This should be fixed with GNOME 3.6, though.
OK. Though there are plenty of bugs in monitor hotplug, we couldn't reproduce this exact issue. What settings do you have for your wallpaper? What does: $ gsettings get org.gnome.desktop.background picture-options say?
Killing nautilus works for me too. My picture options are set to zoom. $ gsettings get org.gnome.desktop.background picture-options 'zoom'
My options are also 'zoom'.
Created attachment 225834 [details] [review] window: Don't move the desktop window after monitor hotplug If someone plugs in a new monitor, while all their regular windows should move in absolute X coordinates to ensure they stay on the same monitor, the desktop window should stay put.
Created attachment 225835 [details] [review] overview: Make sure that we put the desktop clone at the right place This ensures that the desktop window's smooth fadeout when going to the overview is in the same spot as the desktop window, which may not always be at 0, 0.
The patches appear to work fine here in testing.
Review of attachment 225834 [details] [review]: Looks good.
Review of attachment 225835 [details] [review]: Looks good.
Comment on attachment 225835 [details] [review] overview: Make sure that we put the desktop clone at the right place Attachment 225835 [details] pushed as 4f56fb1 - overview: Make sure that we put the desktop clone at the right place
Attachment 225834 [details] pushed as 7a2c019 - window: Don't move the desktop window after monitor hotplug