Community
Participate
Working Groups
On Linux, Drag and Drop is initiated with the middle mouse button. When dragging views around Eclipse, it should also use the middle mouse button. Currently the left mouse button is used on all platforms.
You are not calling any API for drag start - you are making up your own conditions on when dragging starts. See PartDragDrop - it defines a hysteresis and adds a mouse move listener. You could hook SWT.DragDetect to get the system behaviour.
Not going to get to for 2.0.
Reopen for investigation
Reassigning to KR since he's working in this area.
Changed PartDragDrop to use SWT DragDetect event instead of MouseDown. Proper operation on Linux depends on a fix for bug 23997. Fix is NOT released. Kept the existing hysteresis to preserve existing view drag'n drop feel. CTabPartDragDrop and ShortcutBarPartDragDrop keep existing contraints for drag start as well.
Created attachment 2046 [details] Fixed drag and drop
Created attachment 2047 [details] Fixed drag and drop
Created attachment 2048 [details] Fixed drag and drop
SWT bug 23997 has been fixed. Released attached fixes, merged ShortcutBarPartDragDrop.java with HEAD.