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

Bug 466422

Summary: The bendpoints of an edge move if a border node is resized on another border node
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, maxime.porhel, pierre-charles.david
Version: 2.0.0Keywords: triaged
Target Milestone: 3.0.0   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=441424
https://git.eclipse.org/r/47272
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=9067bd9865c39b219ef17c43b4452cd0199486d8
Whiteboard:

Description Laurent Redor CLA 2015-05-05 08:37:59 EDT
The goal of the feature 441424 is to hold the edges location during the shape resize.
But when a border node is resized on another border node, it is also moved (cause of DBorderItemLocator). This case has not been handled for bug 441424.

Steps to reproduce:
* Import the files from folder /org.eclipse.sirius.tests.swtbot/data/unit/centeredEdge in a modeling project
* Open the diagram "moving"
* Create 2 bendpoints for "edge2"
* Resize "border1" by the top (align the top to the top of "border2")
* "border1" is resized and move to bottom--> OK, but all bendpoints of "edge2" are moved --> KO
Comment 1 Eclipse Genie CLA 2015-05-06 06:14:44 EDT
New Gerrit change created: https://git.eclipse.org/r/47272
Comment 3 Laurent Redor CLA 2015-05-07 02:55:13 EDT
Resolved with above commit
Comment 4 Belqassim Djafer CLA 2015-05-21 10:23:36 EDT
Verified with Sirius 3.0.0 RC1
Comment 5 Pierre-Charles David CLA 2015-06-24 11:13:09 EDT
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.