After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 80420 - Pointer grab on dnd
Pointer grab on dnd
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.0.x
Other other
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 74461 76382 (view as bug list)
Depends on:
Blocks: 77922
 
 
Reported: 2002-05-01 01:43 UTC by Dave Camp
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0


Attachments
patch to help trigger the bug (692 bytes, patch)
2002-05-01 01:43 UTC, Dave Camp
none Details | Review

Description Dave Camp 2002-05-01 01:43:10 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.
Comment 1 Dave Camp 2002-05-01 01:43:55 UTC
Created attachment 8085 [details] [review]
patch to help trigger the bug
Comment 2 Owen Taylor 2002-05-15 22:25:55 UTC
*** Bug 76382 has been marked as a duplicate of this bug. ***
Comment 3 Owen Taylor 2002-05-15 22:27:09 UTC
*** Bug 74461 has been marked as a duplicate of this bug. ***
Comment 4 Owen Taylor 2002-05-15 22:29:25 UTC
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)