Bug 5089 - [Navigator] Dragging should occur with the middle mouse button on Linux
Summary: [Navigator] Dragging should occur with the middle mouse button on Linux
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: 2.1 M3   Edit
Assignee: Knut Radloff CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on: 23997
Blocks:
  Show dependency tree
 
Reported: 2001-10-18 16:30 EDT by Veronika Irvine CLA
Modified: 2002-11-10 12:00 EST (History)
0 users

See Also:


Attachments
Fixed drag and drop (1.56 KB, text/plain)
2002-09-23 18:14 EDT, Knut Radloff CLA
no flags Details
Fixed drag and drop (13.91 KB, text/plain)
2002-09-23 18:15 EDT, Knut Radloff CLA
no flags Details
Fixed drag and drop (2.39 KB, text/plain)
2002-09-23 18:15 EDT, Knut Radloff CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Veronika Irvine CLA 2001-10-18 16:30:18 EDT
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.
Comment 1 Veronika Irvine CLA 2002-05-01 15:59:49 EDT
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.
Comment 2 Lynne Kues CLA 2002-05-17 14:58:45 EDT
Not going to get to for 2.0.
Comment 3 Randy Giffen CLA 2002-08-08 16:43:36 EDT
Reopen for investigation
Comment 4 Lynne Kues CLA 2002-08-20 10:04:15 EDT
Reassigning to KR since he's working in this area.
Comment 5 Knut Radloff CLA 2002-09-23 18:12:46 EDT
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.
Comment 6 Knut Radloff CLA 2002-09-23 18:14:37 EDT
Created attachment 2046 [details]
Fixed drag and drop
Comment 7 Knut Radloff CLA 2002-09-23 18:15:04 EDT
Created attachment 2047 [details]
Fixed drag and drop
Comment 8 Knut Radloff CLA 2002-09-23 18:15:18 EDT
Created attachment 2048 [details]
Fixed drag and drop
Comment 9 Knut Radloff CLA 2002-11-10 12:00:41 EST
SWT bug 23997 has been fixed.
Released attached fixes, merged ShortcutBarPartDragDrop.java with HEAD.