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

Bug 474828

Summary: Wrong first or last GMF bendpoint in case of rectilinear router and segment merged
Product: [Modeling] Sirius Reporter: Laurent Redor <laurent.redor>
Component: DiagramAssignee: Laurent Redor <laurent.redor>
Status: CLOSED FIXED QA Contact: Julien Dupont <julien.dupont>
Severity: normal    
Priority: P3 CC: julien.dupont
Version: 2.0.0Keywords: triaged
Target Milestone: 3.1.0   
Hardware: PC   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=474672
https://bugs.eclipse.org/bugs/show_bug.cgi?id=474688
https://bugs.eclipse.org/bugs/show_bug.cgi?id=452651
https://git.eclipse.org/r/53650
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=8085750cb2c0dcb3b6099043741e8cd275d02407
Whiteboard:
Bug Depends on:    
Bug Blocks: 465328    

Description Laurent Redor CLA 2015-08-12 11:43:26 EDT
As for bugs 474672 and 474688, this bug completes the initial bug 452651. When the first segment is merged with the following segment (or last with preceding)  during the node move, the computed GMF points in SetConnectionBendpointsAccordingToExtremityMoveCommmand are KO. There are 2 points more in GMF than in draw2d.

Steps to reproduce:
* Use the use case of BendpointsStabilityOnMovesSpecificCasesTest
* Open the diagram 
* Move up C2 of 139 pixel
KO: There are 4 points in draw2d and 6 in GMF.
Comment 1 Eclipse Genie CLA 2015-08-12 12:05:49 EDT
New Gerrit change created: https://git.eclipse.org/r/53650
Comment 3 Laurent Redor CLA 2015-08-13 04:29:15 EDT
Resolved with above commit.
Comment 4 Julien Dupont CLA 2015-09-29 05:42:01 EDT
SwtBot Test BendpointsStabilityOnMovesSpecificCasesTes was ok.
Comment 5 Pierre-Charles David CLA 2015-10-16 09:09:47 EDT
Available in Sirius 3.1.0.