Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 22666 - [Navigator] Moving files from Windows Explorer to Navigator
Summary: [Navigator] Moving files from Windows Explorer to Navigator
Status: RESOLVED WORKSFORME
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: ---   Edit
Assignee: Francis Upton IV CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
: 32258 (view as bug list)
Depends on:
Blocks: 16308
  Show dependency tree
 
Reported: 2002-08-21 17:32 EDT by Knut Radloff CLA
Modified: 2019-09-02 15:05 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 2002-08-21 17:32:58 EDT
build 20020821

Bug 22566 reports that cutting a file in the Explorer and pasting it into 
Eclipse actually copies the file. It remains in the Explorer.

There are two options to fix this:
1. Cutting from Windows Explorer and pasting in Eclipse does nothing.
2. Fully support moving files from the file system into Eclipse, removing them 
in the source location. This includes drag and drop.

Bug 21372 suggests that the Navigator should copy files by default when they 
are (move) dragged from the Explorer. This is what the package view does for 
drag and drop. It copies independent of whether the copy modifier key is 
pressed and indicates this in the drag feedback icon.
If we decide that option 1. is correct a drag move from Eclipse to the file 
system should force to default to a drag copy. This operation currently works 
as a move and the behavior would thus be different depending on the direction 
of the transfer which is confusing.

Going for option 2 is the fact that drag moving already works in the direction 
of Eclipse->Windows Explorer.

Kevin, do we want to support move transfers between Eclipse and Windows 
Explorer or do we restrict to copy transfers?
Comment 1 Knut Radloff CLA 2002-10-23 11:10:40 EDT
Talked to Nick and Lynne. The prevailing opinion is that drag into Eclipse 
should default to copy/import.
This means that we should also default to copy when dragging from Eclipse to 
Windows. Having different defaults, depending on direction seems counter 
intuitive.
However, we don't necessarily have to remove the DND move behavior. We could 
still support move when the move modifier (shift on Windows) is held down. Move 
behavior would have to be added for Navigator and Package Explorer drop targets.

Adding Erich to cc to comment on JDT part. Package view already mostly behaves 
as suggested, it defaults to copy when dragging from Windows to Eclipse but 
defaults to move when dragging from Eclipse to Windows. This would need to be 
changed to keep it consistent with itself and with Navigator. It should also 
add move drop support.
Comment 2 Knut Radloff CLA 2002-10-23 15:26:59 EDT
Note, to emphasize, instead of adding move support for Windows->Eclipse we 
could also drop move support for Eclipse->Windows direction. Whatever we do, it 
should be consistent.
Comment 3 Knut Radloff CLA 2003-03-03 14:32:30 EST
*** Bug 32258 has been marked as a duplicate of this bug. ***
Comment 4 Knut Radloff CLA 2003-09-02 17:00:52 EDT
Reassigning to Nick since he is taking ownership of Navigator
Comment 5 Eclipse Genie CLA 2019-01-22 14:31:34 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 6 Lars Vogel CLA 2019-09-02 15:05:27 EDT
This bug was marked as stalebug a while ago. Marking as worksforme.

If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard tag.
Comment 7 Lars Vogel CLA 2019-09-02 15:05:46 EDT
This bug has been marked as stalebug a while ago without any further interaction.

If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard flag.