Community
Participate
Working Groups
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.
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.
Please investigate a fix for 2.1.1.
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.
Correction: Package Explorer does show the proper copy drop feedback on my machine.
Ok - I was using the left mouse button which seems to be incorrect on Motif. You can resolve the defect as "Invalid"...
In 2.0 we were explicitly testing for a left mouse button click. In 2.1 we switched to using the platform default.