Bug 298652

Summary: [common navigator] Drag & drop Java file from default package to other package in Project Explorer defaults to 'copy' instead of 'move'
Product: [Eclipse Project] JDT Reporter: Neeraj Agrawal <nagrawal>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: minor    
Priority: P3 CC: daniel_megert
Version: 3.6   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Neeraj Agrawal CLA 2009-12-30 13:45:21 EST
Build Identifier: 3.5

In the Project Explorer view, the drag/drop operation when moving from the default package to another package is working as a copy operation instead of a move operation. The java file remains in both the default package and the other package to where it was moved. 

If you follow the same scenario in the Package Explorer view, the file is moved to the other package and the default package disappears (since it is empty). I would expect the Project Explorer view to have the same behavior. 

(I am opening this defect against JDT UI since it contributes java functionalty to Project explorer)

Reproducible: Always
Comment 1 Dani Megert CLA 2010-01-08 04:44:27 EST
Same in I20100107-1410.

Works when DnD from non-default package to other non-default package.
Comment 2 Dani Megert CLA 2010-01-08 04:49:19 EST

*** This bug has been marked as a duplicate of bug 264279 ***