Community
Participate
Working Groups
Created attachment 83611 [details] snippet that demonstrates the bug drag&drop into an item of a tabfolder is not possible on linux-gtk x86-64. it works properly on win 32 and linux 32. the snippet attached demonstrates this behaviour. it is a variant of snippet78 where 2 labels within a tabfolder were added. you can drag the text between the labels outside the tabfolder but not into it. it works on win32 but not on linux-gtk-x86-64 the major diff to Snippet78 is: 33a35,45 > // > TabFolder f = new TabFolder(shell, SWT.NONE); > TabItem t1 = new TabItem(f, SWT.NONE); > t1.setText("Tab 1"); > TabItem t2 = new TabItem(f, SWT.NONE); > t2.setText("Tab 2"); > Label l1 = new Label (f, SWT.BORDER); > Label l2 = new Label (f, SWT.BORDER); > t1.setControl(l1); > t2.setControl(l2); 36c48,51 < shell.setSize (200, 200); --- > setDragDrop (l1); > setDragDrop (l2); > shell.setSize (400, 200);
Your snippet works for me on 32-bit and 64-bit gtk, so maybe it's dependent on your gtk version. What are the gtk versions on your 32-bit and 64-bit machines? And in the 64-bit case, does your DropTargetListener.drop() get called with a null event.data, or does it not get called at all?
Timed out, closing. Please reopen this report if you have more info.