Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 33398 - [DND] Disable drag copy when multiple selected items do not have the same parent
Summary: [DND] Disable drag copy when multiple selected items do not have the same parent
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: 2.1 RC2   Edit
Assignee: Knut Radloff CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 33397 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-26 18:30 EST by Knut Radloff CLA
Modified: 2008-09-07 04:53 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Knut Radloff CLA 2003-02-26 18:30:15 EST
build RC1

In a file structure:
P1
  F1
    file1
  F2

When file1 and F2 are selected the copy menu item is disabled. Drag copy is allowed and 
works fine. The copy menu item should be enabled.
Package Explorer has the same problem.
Comment 1 Knut Radloff CLA 2003-02-27 13:43:18 EST
Drag copy should be disallowed and the copy menu item should remain disabled in 
this scenario. The rationale is that selecting and copying items in disjoint 
hierarchies or on different levels of the same hierarchy is likely unintended 
and should not be allowed.
Comment 2 Knut Radloff CLA 2003-02-27 14:37:53 EST
*** Bug 33397 has been marked as a duplicate of this bug. ***
Comment 3 Knut Radloff CLA 2003-02-27 14:38:16 EST
Should fix for RC2
Comment 4 Nick Edgar CLA 2003-02-27 15:27:23 EST
Should update title.
Comment 5 Knut Radloff CLA 2003-03-03 15:32:19 EST
Fixed in >20030303
Comment 6 Knut Radloff CLA 2003-03-20 12:41:16 EST
Verified fixed in build 20030319
Comment 7 James Blackburn CLA 2008-09-07 04:53:33 EDT
In this setup:
P1
  F1
   file1
   file2
  F2
   file3

I can understand you might want to disallow the user copying file1 & F1 together (without selecting file2).  But when the hierarchies are disjoint such as the example given it's perfectly reasonable to allow the user to do this...

I believe the current behaviour is a bug as if you allow people to copy things at all then you should allow them to copy what they want to copy.