Bug 430592 - Diagram is dirty even if the only change is the order of semantic candidates
Summary: Diagram is dirty even if the only change is the order of semantic candidates
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 1.0.0M5   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-03-18 06:21 EDT by Stéphane Thibaudeau CLA
Modified: 2014-04-10 08:49 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Thibaudeau CLA 2014-03-18 06:21:47 EDT
If the only change in my model is the order of semantic candidates returned for an edge mappings, the diagram is set as dirty but there is no visual change for the end user.
In my opinion, the diagram should not get dirty in such a case. Same thing stands for container or node mappings.
Comment 1 Maxime Porhel CLA 2014-03-18 08:31:25 EDT
A change in the order of candidates will lead to changes in the order of Lists elements, border nodes, Sequence layout (the semantic ordering is computed from the semantic model, but the graphical ordering is computed from the notation model whose order comes from the Sirius model), future region/compartments. 

We have to clearly identify the candidates expression whose order does not matter.
Comment 2 Pierre-Charles David CLA 2014-03-18 08:54:36 EDT
We should also take the z-order into account: on case of overlap, which figures appear on top of each other depends on their order, which depends on the order of their edit parts, which probably depends on the order inside the model. Even for cases where it looks like the order is irrelevant, changing the current behavior may have an impact on the z-order and thus graphical result.
Comment 3 Stéphane Thibaudeau CLA 2014-03-18 08:57:44 EDT
And what about an option to indicate if order is relevant or not ?