GNOME Bugzilla – Bug 82354
Drag from GTK+-2.0.2 Drop into Java freezes the Mouse Pointer
Last modified: 2011-02-04 16:11:56 UTC
i tried to drag from the GTK+ 2.0.2 testdnd (gtk+-2.0.2/tests/testdnd) to a the java swing demo from sun (under jdk 1.4). You can find the demo under http://java.sun.com/j2se/1.4/docs/guide/swing/1.4/JLabelDragNDrop.java. When i Drag from the "Drag Here" Button into the Textfield, the Text "I'm Data" is displayed and then the Mouse Pointer freezes. (You can still move around but you can not click on anything anymore). When you switch to console with keyboard and you kill testdnd everything works again. Remarks: * The reason why i tried testnd is: I tried the same in nautilus, with the same symptoms. * Erwann Chénedé, of Sun Microsystems, Ireland [Erwann.Chenede@Sun.COM] confirmed on gtk-list that this is an gtk bug P.S. Drag And Drop In Java Documentation http://java.sun.com/j2se/1.4/docs/guide/swing/1.4/dnd.html
Motif DND is extremely buggy, so the GTK+ code has never worked especially well. But hopefully we can at least prevent stuck grabs. (This *might* be fixed in a change currently in CVS; so once 2.0.3 is out, it would be good to try again.)
Move various non-critical bugs onto 2.2.1 milestone.
Seems to work fine for me with GTK+-2.2.0. Please reopen if you still see a problem.