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

Bug 444057

Summary: When moving edge extremity to the border node extremity, all segments are moved
Product: [Modeling] Sirius Reporter: Belqassim Djafer <belqassim.djafer>
Component: DiagramAssignee: Steve Monnier <steve.monnier>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: florian.barbin, laurent.redor, steve.monnier
Version: unspecifiedKeywords: triaged
Target Milestone: 2.0.0   
Hardware: PC   
OS: Windows 8   
Whiteboard:
Bug Depends on:    
Bug Blocks: 437095    
Attachments:
Description Flags
Before and after moving edge extremity to the bordered node extremity
none
Bendpoint_stability none

Description Belqassim Djafer CLA 2014-09-15 03:36:57 EDT
Created attachment 247053 [details]
Before and after moving edge extremity to the bordered node extremity

When moving an edge extremity to the border node extremity, all segments are moved. This should not be happen. Only the last bendpoint should move.
Comment 1 Belqassim Djafer CLA 2014-09-15 03:39:55 EDT
Created attachment 247054 [details]
Bendpoint_stability
Comment 2 Belqassim Djafer CLA 2014-09-15 03:40:18 EDT
To reproduce :
1- Extract and import the attached project into the workspace.
2- Open the "Straight_Bordered Edges Diagram" representation.
3- Move the edge extremity to the "Node 2" extremity.
Comment 3 Florian Barbin CLA 2014-09-18 09:24:33 EDT
This issue appears on master (future Sirius 2.0.0)
Comment 4 Florian Barbin CLA 2014-09-18 09:31:55 EDT
A first bug was introduced by this commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=a5a939dfbe69c07ac1b2fc5b6bb5422b9b30adbf

At this time, bendpoints were shifted when trying to reconnect the edge on the container instead of the border node.
Comment 5 Florian Barbin CLA 2014-09-18 09:50:56 EDT
Since this commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=4033181353a99eda5cddd7a471fafc88990ec369

the bug is different, a bendpoint is removed as the attached screenshot shows it.
Comment 6 Steve Monnier CLA 2014-10-02 11:35:22 EDT
fix waiting for review of https://git.eclipse.org/r/#/c/34293/
Comment 7 Steve Monnier CLA 2014-10-03 10:51:22 EDT
During validation, don't forget to activate the preference in Sirius/Sirius Diagram/Connections that changes the line style. There was an issue causing an NPE on edge reconnection with the fix of this bugzilla.
Comment 8 Steve Monnier CLA 2014-10-14 13:04:25 EDT
Fixed
Comment 9 Laurent Redor CLA 2014-12-02 08:44:24 EST
Available in Sirius 2.0.0.