Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339144 - [client] drag/drop support for file copy/move
Summary: [client] drag/drop support for file copy/move
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 5.0 M1   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-07 16:34 EST by Susan McCourt CLA
Modified: 2013-11-13 10:51 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Susan McCourt CLA 2011-03-07 16:34:08 EST
It would be nice to drag/select rows in nav-table for copy/move.
Comment 1 Susan McCourt CLA 2012-11-02 16:47:52 EDT
I'm doing HTML5 file upload on drag in bug 393464.  This bug was really about dragging and dropping within the web page.
Comment 2 Silenio Quarti CLA 2013-10-08 19:59:32 EDT
I have committed changes to support DND between nav explorers and in the same nav explorer.

Antonm, please try this out. Note that we only copy files right now. We should be able to move files as well.


http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=3ffbb84cc5e189631cba0e381b329eef12e585ac
Comment 3 John Arthorne CLA 2013-10-24 14:25:36 EDT
I discovered this today. Some comments:

 - Copy being the default action on drag is confusing. If I drag a file from one folder to the other in Orion I would expect the default to be move
 - The tree layout looks broken after dragging. The folder being dragged into jumps up to the top level. On page refresh it is back in the right place.

This is on Win 7, Chrome 31
Comment 4 Silenio Quarti CLA 2013-11-13 10:51:57 EST
(In reply to John Arthorne from comment #3)
> I discovered this today. Some comments:
> 
>  - Copy being the default action on drag is confusing. If I drag a file from
> one folder to the other in Orion I would expect the default to be move

Added support to move a file in the same nav. Move is the default operation. User holds ctrl down to change to copy (alt on the Mac).

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=7580970120a94ac4985742f64896276d1bf3e89b

>  - The tree layout looks broken after dragging. The folder being dragged
> into jumps up to the top level. On page refresh it is back in the right
> place.

The layout problem is a dup of bug#418765.