Bug 441868 - Multiselection - When drag-selecting an edge its label won't be selected as well
Summary: Multiselection - When drag-selecting an edge its label won't be selected as well
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-08-15 09:31 EDT by Stefan Schulz CLA
Modified: 2014-08-19 05:24 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 Stefan Schulz CLA 2014-08-15 09:31:43 EDT
When you select multiple items in a diagram editor and then right-click an edge-label the editor will drop the current selecion and only select the edge itself.

Steps to reproduce:
-In the basicfamily-example add labels to the mother and father relations
-Drag-select a few items (including an edge)
-Right-click the label of a selected edge
->The context menu will flash (and immediately close), only the edge is selected now

The problem seems to be that when multi-selecting an edge the line of the edge will be selected but its label won't.

This becomes clear when you ctrl-select as follows:

Scenario 1:
-Ctrl-select the classes/attributes and ctrl-click on the line of an edge
-Right-click the label of the edge
->The current selection will be dropped and only the edge will be selected

Scenario 2:
-Ctrl-select the classes/attributes and ctrl-click on the label of an edge
-Right-click the line of the edge
->The current selection will be dropped and only the edge will be selected

Furthermore this behaviour also applies to other elements in the diagram:
Select the names of two persons then right click on the icon of one. The selection will be dropped and only the clicked icon will be selected. Here I'm not sure if it is counter-intuitive behaviour of the editor or just a user-error, since the user actually could drag-select the icons too.
Comment 1 Laurent Redor CLA 2014-08-19 05:24:42 EDT
Indeed, the selection is lost when there is a right click on a "NameEditPart".
This is probably linked to bug 424417.