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 82354 - Drag from GTK+-2.0.2 Drop into Java freezes the Mouse Pointer
Drag from GTK+-2.0.2 Drop into Java freezes the Mouse Pointer
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2002-05-20 14:03 UTC by Dietmar Kling
Modified: 2011-02-04 16:11 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Dietmar Kling 2002-05-20 14:03:42 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
Comment 1 Owen Taylor 2002-05-20 15:22:06 UTC
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.)

Comment 2 Owen Taylor 2002-10-24 16:58:38 UTC
Move various non-critical bugs onto 2.2.1 milestone.
Comment 3 Owen Taylor 2003-01-23 20:09:08 UTC
Seems to work fine for me with GTK+-2.2.0. Please reopen
if you still see a problem.