Project

General

Profile

Actions

Bug #117

closed

fixes for non-local drop behavior

Added by I. Denisov over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
07/12/2016
Due date:
% Done:

100%

Estimated time:

Description

The following fixes are required for non-local drag-and-drops, i.e. where source and destination views are different.

1. When moving the selection from a nested view to a parent view (e.g. when using nested forms), the selection is not deleted in the source view, which effectively creates a copy operation. This unintended behavior results from an inappropriate ordering of insert and delete operations in Containers.TrackToDrop where the insert is done first and as a side effect it can clear the selection used by the delete step.

2. The focus should be set to the drop target.

3. If the selection is not a singleton, all inserts should be grouped together by means of a script.

4. In case of moving within a shared domain, i.e. where the drop source and target have a common undo-stack, there should only be a single 'Moving' operation instead of two operations (Insert + Delete).

Reported by X512 on the BlackBox community forum, 2016-07-11.
Fixes proposed by X512.

Actions

Also available in: Atom PDF