GNOME Bugzilla – Bug 673566
file manager (nautilus) shifted down/right
Last modified: 2012-04-17 22:27:13 UTC
Created attachment 211371 [details] screenshot of nautilus shifted When nautilus is managing the desktop, it's now appearing shifted at the bottom right. It usually starts after a g-s restart (or crash), and stays until the next X restart or reboot (a nautilus restart doesn't help, nor does toggling the gsettings pref). It started a few weeks ago with 3.3.X (running g-s from trunk) so it's a regression. Screenshot attached. When leaving the Activities overview, nautilus appears at the right place for a split second, then moves back to its bogus position. xprop of nautilus size hints: WM_NORMAL_HINTS(WM_SIZE_HINTS): program specified location: 0, 0 program specified minimum size: 1920 by 1080 program specified maximum size: 1920 by 1080 program specified base size: 0 by 0 window gravity: NorthWest There are some similar reports in F17 & Ubuntu: https://bugzilla.redhat.com/show_bug.cgi?id=808895 http://lists.fedoraproject.org/pipermail/test/2012-March/106252.html https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/964796
See also bug 672150 - though I'm not sure that's the same thing.
This is caused by auto-maximization trying to run for the desktop window and failing.
Created attachment 211419 [details] [review] Don't try to maximize DESKTOP and other "non-normal" windows Starting the auto-maximize process on a window like a META_WINDOW_DESKTOP window that is not maximizable gets placement into a confused state and eventually results in the window being positioned at the wrong position (the position that an auto-maximized window would be restored to.)
Created attachment 211420 [details] [review] Don't try to auto-maximize not-maximizable windows New version based on IRC review that has_maximize_func covers a wider range of non-maximizable windows.
Review of attachment 211420 [details] [review]: Looks good.
Attachment 211420 [details] pushed as 93d06d4 - Don't try to auto-maximize not-maximizable windows
Thanks! marking verified fixed.
*** Bug 673745 has been marked as a duplicate of this bug. ***
*** Bug 672643 has been marked as a duplicate of this bug. ***
*** Bug 674289 has been marked as a duplicate of this bug. ***