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

Bug 452651

Summary: Wrong first or last GMF bendpoint in case of rectilinear router
Product: [Modeling] Sirius Reporter: Laurent Redor <laurent.redor>
Component: DiagramAssignee: Laurent Redor <laurent.redor>
Status: CLOSED FIXED QA Contact: Belqassim Djafer <belqassim.djafer>
Severity: normal    
Priority: P3 CC: belqassim.djafer, pierre-charles.david
Version: 2.0.0Keywords: triaged
Target Milestone: 3.0.0M4   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=437097
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=474828
Whiteboard:
Attachments:
Description Flags
Bugzilla452651.zip: use case for steps to reproduce none

Description Laurent Redor CLA 2014-11-21 08:31:27 EST
Since the feature bug 437097, there is a bug on edge with rectilinear router when moving the source or the target. The first or the last GMF bendpoint is wrong. It is not really visible because draw2d masks this problem. But the GMF bendpoint is different than the draw2d one.
Comment 1 Laurent Redor CLA 2014-11-21 08:49:30 EST
Created attachment 248817 [details]
Bugzilla452651.zip: use case for steps to reproduce

Steps to reproduce:
* Import the project from Bugzilla452651.zip
* Open the diagram myDiagram
* The last point is the same for draw2d and GMF (460, 120).
* Move C2
KO: The last point is not the same for draw2d and GMF.
Comment 2 Laurent Redor CLA 2014-11-21 15:59:59 EST
Fix proposed here: https://git.eclipse.org/r/36868
Comment 4 Pierre-Charles David CLA 2014-12-03 08:37:41 EST
Cloned as bug 454007 to backport in Sirius 2.0.x.
Comment 5 Belqassim Djafer CLA 2015-04-08 09:53:27 EDT
Verified on Sirius 3.0.0M6
Comment 6 Pierre-Charles David CLA 2015-06-24 11:16:10 EDT
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.