Bug 488849 - [DnD] Drop and drop operation key modifiers not working as expected
Summary: [DnD] Drop and drop operation key modifiers not working as expected
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 10
: P3 minor with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-02 07:37 EST by Tiber Sept CLA
Modified: 2016-03-09 03:53 EST (History)
1 user (show)

See Also:


Attachments
Drag and drop view with DND.DROP_COPY as default operation (3.04 KB, text/plain)
2016-03-02 07:39 EST, Tiber Sept CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tiber Sept CLA 2016-03-02 07:37:44 EST
Modifying DND.DROP_COPY operation back to DND.DROP_MOVE via SHIFT key doesn't seem to work.

Configuration:
DragSource with DND.DROP_MOVE | DND.DROP_COPY | DND.DROP_DEFAULT 
DropTarget with DND.DROP_MOVE | DND.DROP_COPY | DND.DROP_DEFAULT 
DropTargetAdapter.dragEnter with "event.detail = DND.DROP_COPY"

An example view is attached which, when dragging source label to target label,
defaults to DND.DROP_COPY and only when SHIFT key is pressed reverts to DND.DROP_MOVE. Example works in SWT/RCP, doesn't work with RWT/RAP.
Comment 1 Tiber Sept CLA 2016-03-02 07:39:30 EST
Created attachment 260043 [details]
Drag and drop view with DND.DROP_COPY as default operation