Bug 461200

Summary: Reconnect does not respect the reconnection point
Product: [Modeling] Sirius Reporter: Laurent Redor <laurent.redor>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: esteban.dugueperoux
Version: 2.0.0Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=452294
Whiteboard:

Description Laurent Redor CLA 2015-03-02 09:28:50 EST
Steps to reproduce:
* Copy all files of /org.eclipse.sirius.tests.swtbot/data/unit/edgeOnFigureWithAlphaAnchor in a project named DesignerTestProject
* Open "new MyDiagram" of alphaAnchor.aird
* Reconnect the source of toC2 (Square side) to the head of the actor
* After the reconnection, the edge is not on the head of the actor but on his waist.

This bug has been discovered during the bug 452294 but is not specific to the bug 452294. You can update the odesign to add a border (borderSizeComputationExpression=1) to the conditional style [name.equalsIgnoreCase('actor')/] to have the previous behavior.

This bug is not true for all edge reconnections. It seems always OK for all rectilinear edges but KO only for some oblique edges.
Comment 1 Laurent Redor CLA 2015-03-03 05:15:19 EST
The disabled test org.eclipse.sirius.tests.swtbot.EdgeOnFigureWithAlphaAnchorTest._testDragSourceFail() can be used to check the fix.