GNOME Bugzilla – Bug 705174
workspaceThumbnail: don't move transient windows for workspaces
Last modified: 2013-07-30 22:41:48 UTC
Created attachment 250507 [details] [review] [PATCH] workspaceThumbnail: don't move transient windows for workspaces When we shift workspaces to create a blank one for a window or application, all of the window actors are shifted down. However, some of these window actors are transient windows attached to a main window. When these windows are moved to a different workspace, the main window is moved along with it. When the main window is moved, these windows are also moved. This creates a double move of the windows. This double movement leads to unexpected results where workspaces are collapsed and windows are in incorrect positions. This patch prevents movement of these transient windows, only grabbing the main (ancestor) windows to move to a different workspace.
This problem is most apparent with dynamic workspaces. The following is one way to replicate this bug: Enable dynamic workspaces. Open a gnome-terminal window below a workspace with a window in it. Open the profile preferences window for gnome-terminal. Go to overview and drag the window in the workspace above gnome-terminal down to the space between the two workspaces and release to create a new workspace. Gnome-terminal will be moved down a workspace which should not happen. This problem happens to any application with transient windows open.
Looks correct. Do you have git access?
No, I don't think so.
Hm, I don't know why that happened. Too bad comments can't be edited. Well, I'm pretty sure I don't have git access.
OK, I pushed for you. Thanks for the patch!