Bug 445168

Summary: the selection and pin/unpin in the outline tree view are not working correctly
Product: [Modeling] Sirius Reporter: Belqassim Djafer <belqassim.djafer>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: maxime.porhel
Version: unspecifiedKeywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows NT   
Whiteboard:

Description Belqassim Djafer CLA 2014-09-26 03:54:58 EDT
In a diagram representation, when try to select several elements by holding the ctrl boutton + left click, only the first element is selected and this one still selected even when trying to click on the diagram background.

Also the pin/unpin with the tree outline view action hide the first element selected.

I reproduce this issue with the current sirius development version (next 2.0) and the latest version (1.0.1).

To reproduce :
1- Open a diagram representation.
2- Select the outline mode in the outline view
3- Select several element by holding the Ctrl key. The selection do not work properly.
4- try to pin selected elements. the first element selected disappears (hidden).
Comment 1 Maxime Porhel CLA 2014-09-29 11:56:46 EDT
I see several issues:
 . In the outline, when I select several elements: the multi selection is not reported on the diagram.
 . It seems that the selection from the outline select some edit parts but there is no primary_selected part.
 . When the tabbar actions are used on this selection, we might encounter some unexpected results.

Those problems need some analysis.