Bug 461200 - Reconnect does not respect the reconnection point
Summary: Reconnect does not respect the reconnection point
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-03-02 09:28 EST by Laurent Redor CLA
Modified: 2015-03-04 10:54 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.