Bug 280020

Summary: Reordering elements in the outline view changes the relative order
Product: [Tools] GEF Reporter: Peter Severin <peter_p_s>
Component: GEF-Legacy GEF (MVC)Assignee: gef-inbox <gef-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: peter
Version: 3.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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.