Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359429 - Different behaviour when (drag &) dropping an object on node vs. empty space
Summary: Different behaviour when (drag &) dropping an object on node vs. empty space
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Daniel Wiehl CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 10:15 EDT by Michael Schaufelberger CLA
Modified: 2021-08-19 11:27 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)