GNOME Bugzilla – Bug 80420
Pointer grab on dnd
Last modified: 2004-12-22 21:47:04 UTC
I'm seeing a pointer grab when ending some drags. To reproduce, apply the attached patch to testdnd.c. Repeatedly and quickly drag from the button to the trash can. It helps to load up your system first, or run it on a slow system. After awhile you'll see a pointer grab. It looks like the grab is happening on line 2439, after a XdndStatus event is recieved after the drag has been ended and the pointer ungrabbed. The attached patch just switches the action sent to gdk_drag_status every time, to increase the chances of line 2439 being hit. Nautilus' icon view seems to be able to trigger this fairly easy on my ultra 2.
Created attachment 8085 [details] [review] patch to help trigger the bug
*** Bug 76382 has been marked as a duplicate of this bug. ***
*** Bug 74461 has been marked as a duplicate of this bug. ***
Thanks for the test case and hints about hte problem! Wed May 15 18:15:45 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.c (_gtk_drag_source_handle_event): Don't call gdk_pointer_grab() to change the cursor if we've already ungrabbed on button release / escape. (#80420, Dave Camp)