Bug 479036

Summary: Bad feedback and bad edge position when creating an edge with border nodes
Product: [Modeling] Sirius Reporter: Laurent Fasani <laurent.fasani>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: maxime.porhel
Version: 2.0.5Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
scenario
none
scenario none

Description Laurent Fasani CLA 2015-10-05 08:24:16 EDT
Scenario:
Beforehand, create a VSM containing an Edge Creation Tool which applies on an object represented by a node container mapping. That tool should create model elements that are mapped by two border nodes on the container and edge between the two border nodes.
* click on tool and select container node
   => bug1: the source edge feedback is incorrect
* move the mouse on the container
   => bug2: the target edge feedback is incorrect
* select container tool a second time to define the target position
   => bug3: the source and target position of the edge are incorrect

See the attached video
Comment 1 Laurent Fasani CLA 2015-10-05 08:25:39 EDT
Created attachment 257036 [details]
scenario
Comment 2 Laurent Fasani CLA 2015-10-05 08:32:11 EDT
Created attachment 257038 [details]
scenario
Comment 3 Maxime Porhel CLA 2015-10-05 10:41:33 EDT
Implementor will have to describe a validation scenario (and attach a reproduction use case or point to existing data in the test plugins).
Comment 4 Maxime Porhel CLA 2015-10-08 03:32:03 EDT
It seems that with Sirius 2.0.x on juno 3.8.2 the source element is created on the first clic location and the target element is placed near the top left corner (the snap options have no impact)

while with Sirius 3.1 on Mars.1, the target element is placed regarding the second click and the source element is placed neard the top left corner when the snap is enabled. 
If the snap is disabled, I retrieve the 2.0.x behavior.

The feedback issue is not a regression, the feedback is broken as soos as the source and target edit parts are the same.