Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359429

Summary: Different behaviour when (drag &) dropping an object on node vs. empty space
Product: z_Archived Reporter: Michael Schaufelberger <bsi.msa>
Component: ScoutAssignee: Daniel Wiehl <daniel.wiehl>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel.wiehl
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Michael Schaufelberger CLA 2011-09-29 10:15:02 EDT
When dragging an object into a Scout table, the behavior is different depending on whether the target object is a node or an empty space area. If being a node, the source object is always copied regardless of the user gesture applied. On the other hand, if dropping at an empty space location, the user gesture is considered, meaning that the object is effectively being moved unless the Ctrl key is held down.

That should be changed to ignore the user gesture and always perform the copy drop action.
Comment 1 Daniel Wiehl CLA 2011-09-29 10:27:35 EDT
28.09.2011 dwi
BSI ticket #105'253
Bugzilla ticket #359429
Problem:
When dragging an object into a Scout table, the behavior is different depending
on whether the target object is a node or an empty space area. If being a node,
the source object is always copied regardless of the user gesture applied. On
the other hand, if dropping at an empty space location, the user gesture is
considered, meaning that the object is effectively being moved unless the Ctrl
key is held down.
That should be changed to ignore the user gesture and always perform the copy
drop action.
Solution:
The behavior is not the same as different drop targets are associated with the table and its viewport.
The drop target of the viewport considers the user gesture whereas the table itself does not.
Instrumented drop target of the viewport to ignore the user gesture and always use copy as drop action.
Plug-Ins changed:
- org.eclipse.scout.rt.ui.swing [TransferHandlerEx.class]
Migration:
None
Comment 2 Matthias Zimmermann CLA 2012-07-09 06:49:49 EDT
ticket closed.
deliverd as part of eclipse scout 3.8.0 (juno release train)