Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 489198

Summary: Problem with centered edges and specific layout action
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: CLOSED FIXED QA Contact: Florian Barbin <florian.barbin>
Severity: normal    
Priority: P3 CC: florian.barbin, laurent.redor, pierre-charles.david
Version: 3.1.0Keywords: triaged
Target Milestone: 4.0.0M6   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/68430
https://git.eclipse.org/r/68429
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=affea29c5b22c23d4869fcea695514377f923f81
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=6369b981a24b18f0bedea68a84a2046b6759a696
Whiteboard:
Bug Depends on: 489185    
Bug Blocks:    

Description Pierre-Charles David CLA 2016-03-08 05:21:01 EST
Cloned from #489185 to report the fix on master for Sirius 4.0.

+++ This bug was initially created as a clone of Bug #489185 +++

Specific layout action can be "broke" by the EdgeLayoutUpdaterModelChangeTrigger.

A test has been added to reveal this problem. In this test, the layout action aligns 2 classes and flattens an edge between them. The result after the action execution is that the edge is not "straight" but has 5 segments. This is not the expected result.
Comment 1 Eclipse Genie CLA 2016-03-15 05:12:54 EDT
New Gerrit change created: https://git.eclipse.org/r/68430
Comment 2 Eclipse Genie CLA 2016-03-15 05:12:56 EDT
New Gerrit change created: https://git.eclipse.org/r/68429
Comment 5 Florian Barbin CLA 2016-05-24 09:40:28 EDT
Verified on Sirius 4.0.0.RC1 with the JUnit use case.
Comment 6 Pierre-Charles David CLA 2016-06-24 07:59:23 EDT
Available in Sirius 4.0.0.