Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 13869 - [DND] file dnd inconsistent with copy/paste
Summary: [DND] file dnd inconsistent with copy/paste
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1   Edit
Assignee: Knut Radloff CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-16 07:41 EDT by Adam Kiezun CLA
Modified: 2002-08-26 14:45 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 Adam Kiezun CLA 2002-04-16 07:41:32 EDT
1. in folder f create a file a.txt
2. copy it to folder g
3. dnd to f - you're asked 'overwrite?' (inconsistent with windows Explorer)
4. say cancel
5. select a.txt in f
6. copy
7. select f
8. paste - it creates Copy of a.txt

copying over the same folder should always create Copy Of without prompting
Comment 1 Nick Edgar CLA 2002-04-16 09:39:51 EDT
These two cases are different.
In the first, you're copying a different file with the same name.
In the second, you're copying the same file to the same place.

In the first, it should always prompt (same for Copy and D&D).
In the second, it should always generate a Copy of (same for Copy and D&D).

Windows Explorer works the same way.

However, we do have a problem if you drag-copy f/a.txt to f.
We currently prompt to replace.  We should generate a Copy of.

Comment 2 Knut Radloff CLA 2002-08-12 09:44:21 EDT
Currently in step 8 we prompt to overwrite instead of creating "Copy of". This 
is deliberately different from Windows Explorer and was discussed in a 
different PR.
Comment 3 Knut Radloff CLA 2002-08-26 14:45:46 EDT
Actually, in step 8, copying a file to the same path, we prompt for a new name. 
The new name is preset to Copy of. We do *not* automatically create a Copy of. 
This works the same way when drag copying.
See bug 16907 for the copy/move resource spec. 
Drag copying and clipboard based copying was made consistent as part of fixing 
bug 16500.