Bug 280020 - Reordering elements in the outline view changes the relative order
Summary: Reordering elements in the outline view changes the relative order
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy GEF (MVC) (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-11 19:58 EDT by Peter Severin CLA
Modified: 2016-12-14 11:20 EST (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 Peter Severin CLA 2009-06-11 19:58:06 EDT
Use the logic example to reproduce the problem:

1. Add 3 labels. Set their text to 1, 2, 3 and order them accordingly.

2. In the Outline view select labels 2 and 3 and drag them to the first position

3. Now the order of labels is 3, 2, 1 but should be 2, 3, 1


I am not sure what the solution should be. Looks like the LogicTreeContainerEditPolicy#getMoveChildrenCommand is called once for each edit part instead of being called once for all of them.