Bug 520624 - Snap to grid constraint is not taken into account after "Arrange Linked Border Node" action.
Summary: Snap to grid constraint is not taken into account after "Arrange Linked Borde...
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 5.0.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 5.1.0   Edit
Assignee: Florian Barbin CLA
QA Contact: Julien Dupont CLA
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-08-07 09:59 EDT by Jessy Mallet CLA
Modified: 2017-11-08 03:37 EST (History)
3 users (show)

See Also:


Attachments
Test case to use. (7.52 KB, application/x-zip-compressed)
2017-08-07 09:59 EDT, Jessy Mallet CLA
no flags Details
ScreenShot of the "Arrange Linked Border Nodes" behaviour (64.99 KB, image/png)
2017-08-07 10:14 EDT, Jessy Mallet CLA
no flags Details
Property of the grid (14.91 KB, image/png)
2017-08-08 04:06 EDT, Jessy Mallet CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jessy Mallet CLA 2017-08-07 09:59:47 EDT
Created attachment 269712 [details]
Test case to use.

On diagram with "Snap to grid" activated, when user uses "Arrange Linked Border Nodes", border node are arranged but they do not respect "Snap to grid" constraints and they are not aligned with the grid anymore.
"Arrange Linked Bordered Nodes" should take into account "Snap to grid" constraints.


Step to reproduce :
* import in your workspace the modeling project ArrangeBorderNode.zip,
* open representation "new packageDiag",
* make sure that "Snap to Grid" box is marked in properties view of diagram (tab Rulers&Grid) 
* clic on "Arrange Linked Border Nodes" action (icon on the left top of the diagram)
* border Nodes are arranged but they are not snap on grid anymore -> KO
  They should be align on the grid.
Comment 1 Jessy Mallet CLA 2017-08-07 10:14:28 EDT
Created attachment 269713 [details]
ScreenShot of the "Arrange Linked Border Nodes" behaviour
Comment 2 Jessy Mallet CLA 2017-08-08 04:06:20 EDT
Created attachment 269727 [details]
Property of the grid
Comment 3 Florian Barbin CLA 2017-08-09 03:40:16 EDT
Issue accepted and marked as triaged.
Comment 4 Eclipse Genie CLA 2017-08-24 12:10:35 EDT
New Gerrit change created: https://git.eclipse.org/r/103648
Comment 5 Eclipse Genie CLA 2017-08-29 04:44:35 EDT
New Gerrit change created: https://git.eclipse.org/r/103823
Comment 9 Eclipse Genie CLA 2017-09-01 10:14:09 EDT
New Gerrit change created: https://git.eclipse.org/r/104180
Comment 10 Eclipse Genie CLA 2017-09-05 12:37:24 EDT
New Gerrit change created: https://git.eclipse.org/r/104380
Comment 11 Eclipse Genie CLA 2017-09-06 12:12:57 EDT
New Gerrit change created: https://git.eclipse.org/r/104587
Comment 14 Pierre-Charles David CLA 2017-11-08 03:37:00 EST
Available in Sirius 5.1.0, see https://wiki.eclipse.org/Sirius/5.1.0.