Community
Participate
Working Groups
Created attachment 93122 [details] Snippet showing error Build ID: M20080221-1800 Steps To Reproduce: The attached snippet works on windows but not on linux/gtk x86_64. When dropping the text from source onto "Drag target 1" it should change to "Dropped 1" - on windows it works. Dropping on "Drag target 2" works as expected both on windows and linux/gtk. More information:
Strange. It only fails on 64-bit?
I don't know - I don't have a 32-bit gtk to test on... (for the record, "drop target 1" is in an expander while "drop target 2" is not...)
Duong, this is really a drag and drop bug that happens on 64-bit. Can you confirm that it works in 32-bit? Jacek, can you get the latest nightly Eclipse and see whether the problem is already fixed for 3.4?
With the latest swt I'm able to drop on Drop Targets 1 and 2 successfully, on 32-bit and 64-bit. I'm not able to drop on the "eitem" on any of the platforms (including win32) but I don't think this is the problem of this report. I'm using gtk 2.4.13. Which gtk version are you using?
Please get Bogdan to try it out using his GTK farm.
Nightly N20080413-2000 and integration I20080410-1022 give: Exception in thread "main" java.lang.NoSuchMethodError: emissionProc at org.eclipse.swt.internal.Callback.bind(Native Method) at org.eclipse.swt.internal.Callback.<init>(Callback.java:117) at org.eclipse.swt.internal.Callback.<init>(Callback.java:72) at org.eclipse.swt.internal.Callback.<init>(Callback.java:54) at org.eclipse.swt.widgets.Display.initializeCallbacks(Display.java:2475) at org.eclipse.swt.widgets.Display.init(Display.java:2298) at org.eclipse.swt.graphics.Device.<init>(Device.java:153) at org.eclipse.swt.widgets.Display.<init>(Display.java:469) at org.eclipse.swt.widgets.Display.<init>(Display.java:460) at Snippet79.main(Snippet79.java:59) doesn't look related, and most of the swt nightlies available at the download page look horribly borked so I can't really test this... I can reproduce this now with I'm running gnome 2.22.1, gtk 2.12.9, xorg 1.4.0.90, when I reported the bug I was still running gnome 2.20.x and gtk...hm...2.12.5 or 2.12.7... And you're right, it's not the eitem, it's the label inside it once you expand that doesn't work...
re: NoSuchMethodError There were changes recently that were not marked up for 64-bit. I fixed these this morning, which is how I tested the latest on 64-bit. Anyways, I tried the snippet with the latest swt on BG's 32-bit gtk 2.12.5 and I now see the problem, so it's not 64-bit specific. Moving to DN.
*** Bug 211887 has been marked as a duplicate of this bug. ***
Already fixed this one. I re-tested the snippet, now all works in Gtk3/Gtk2. *** This bug has been marked as a duplicate of bug 454940 ***