GNOME Bugzilla – Bug 608834
Toolbox and docks move on desktop change
Last modified: 2010-02-18 06:26:25 UTC
With git master, when I switch desktops and return to the desktop where gimp is running, the Toolbox and layers dock have moved to a different and random place, usually on top of the image window. Every time I switch desktops I have to move both those windows before I can do anything else. Window manager is openbox 3.4.8. Commenting out the gimp_dialog_factories_hide_with_display and gimp_dialog_factories_show_with_display lines at the end of gimp_image_window_window_state_event() fixes the problem, as in http://comm.it.cx/?p=gimp.git;a=commitdiff;h=22792d334cb7ee73b3a8247132cbb59001cec005
That is a known problem with some window managers and we probably already have a bug-report about it.
The problem also occured when toggling visibility with tab: commit 45efd8407938e1f7487b9b372c195aab32a4f90a Author: Martin Nordholts <martinn@src.gnome.org> Date: Thu Feb 18 07:21:20 2010 +0100 Bug 608834 - Toolbox and docks move on desktop change Make sure that after we have set GTK_WIN_POS_MOUSE on a dialog created with the dialog factory, it is eventually reset. Also remove the only occurance of the DEBUG_FACTORY define.