GNOME Bugzilla – Bug 1923
Handlebox doesn't work when parent window is hidden/minimized/iconified
Last modified: 2011-02-04 16:16:32 UTC
Package: gtk+ Version: 1.2.3 Severity: normal Description: Handlebox doesn't work when parent window is hidden/minimized/iconified. How to reproduce: - open an application utilizing GtkHandleBox, e.g. gtcd - detach GtkHandleBox from the parent window, - minimize/hide/iconify parent widow, - now hold button1 on handlebox and try to move, it doesnt work. -- BlackWine ------- Bug moved to this database by debbugs-export@bugzilla.gnome.org 2001-01-27 14:46 ------- This bug was previously known as bug 1923 at http://bugs.gnome.org/ http://bugs.gnome.org/show_bug.cgi?id=1923 Originally filed under the gtk+ product and general component. The original reporter (blackwine@optimus.wroc.pl) of this bug does not have an account here. Reassigning to the exporter, debbugs-export@bugzilla.gnome.org. Reassigning to the default owner of the component, gtk-bugs@gtk.org.
Hard to reproduce with many window managers, since they iconify the handlebox with the parent. But, should be fixed.
The problem here is that, so that the grab doesn't have to be moved when the float is detached/reattached, the widget does a gdk_pointer_grab on hb->bin_window, but when the parent is minimized that doesn't work. Using a GtkInvisible to hold the grab would be one solution, though care also has to be taken that you don't, as you would now, reattach to the place the window was before it was minimized. The same problem can be seen when the parent is on a different desktop.
Fixed in CVS, fix will be in GTK+-1.2.9.
This was never fixed on HEAD.
Mon May 31 02:16:37 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkhandlebox.c: Make detached handleboxes work when their parent is minimized, porting the fix from 1.2. (#1923, #57182)