Bug 37298 - [DND] Drag and Drop doesn't work on Linux Motif
Summary: [DND] Drag and Drop doesn't work on Linux Motif
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux-Motif
: P2 major (vote)
Target Milestone: ---   Edit
Assignee: Knut Radloff CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-06 16:52 EDT by Steven R. Shaw CLA
Modified: 2003-05-13 11:59 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven R. Shaw CLA 2003-05-06 16:52:30 EDT
Steps:
- Create a Java project.
- Create Class1 in the default package
- Create a new package "com.company"
- Try to drag Class1 into the package from the package explorer

Result:
- Cursor doesn't change and nothing happens.

Expected:
- Cursor should change to a + icon and drag operation should complete as in 
Windows and GTK.
Comment 1 Debbie Wilson CLA 2003-05-07 14:52:57 EDT
Am able to reproduce on Linux/Motif with I20030506.  I was able to reproduce
this using the steps provided.  I also created a simple project:
abc (Project)
- folder1 (Folder)
-- file1 (a flat text file - put some text like "Hello World" in here)
- folder2 (Folder)

In Package Explorer view select 'file1' and try to copy/move it to folder2. 
Nothing happens.
Comment 2 Nick Edgar CLA 2003-05-12 22:57:43 EDT
Please investigate a fix for 2.1.1.
Comment 3 Knut Radloff CLA 2003-05-13 11:01:34 EDT
How do you initiate the drag? On Motif, drag and drop uses the middle mouse 
button.
This works for me. Note also that you have to drop exactly on the tree item. It 
is not sufficient to see the drop feedback and the desired tree item selected. 
Dropping outside the tree item will cancel the drop. I believe this is a 
Motif "feature".

I did notice that the Package Explorer shows the same drop feedback for copy 
and move on Motif. The Navigator shows stacked "pages of paper" for copy and 
just the regular "running man" icon for move. Note sure what the Package 
Explorer does different here. Copy drop feedback works fine on other platforms.
Comment 4 Knut Radloff CLA 2003-05-13 11:07:18 EDT
Correction: Package Explorer does show the proper copy drop feedback on my 
machine.
Comment 5 Steven R. Shaw CLA 2003-05-13 11:53:00 EDT
Ok - I was using the left mouse button which seems to be incorrect on Motif.  
You can resolve the defect as "Invalid"...
Comment 6 Knut Radloff CLA 2003-05-13 11:59:08 EDT
In 2.0 we were explicitly testing for a left mouse button click. In 2.1 we 
switched to using the platform default.