Community
Participate
Working Groups
Created attachment 269718 [details] Test case to use. On diagram with "Snap to grid" activated, when user wants to launch "Arrange All" action, border Node in container (which were aligned on the grid before) are not aligned on the grid anymore in spite of container is aligned on the grid. "Arrange All" action should take into account "Snap to grid" constraints. Step to reproduce : * import in your workspace the modeling project ArrangeAll.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 All" action (icon on the top left of the diagram) * create an other class at the same localisation than before * border Nodes are arranged but they are not snap on grid anymore -> KO They should be align on the grid.
Created attachment 269719 [details] ScreenShot of the "Arrange all" behaviour
Created attachment 269730 [details] Properties of the grid
To reproduce the result of the screenshot, don't forget to unpin C2 and C3.
New Gerrit change created: https://git.eclipse.org/r/103316
New Gerrit change created: https://git.eclipse.org/r/103317
Gerrit change https://git.eclipse.org/r/103316 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=46eb63c166ec2c8b85b6d0a91d27c479d08aba94
Gerrit change https://git.eclipse.org/r/102948 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=eb2d56553e8bba471acd4f3724d7fa11e5915708
Gerrit change https://git.eclipse.org/r/103317 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=534f71bb6e90acd18b7703bf7b3654f80b8ad4d3
In some cases, the border node snap location is in conflict with the parent label. In that case the border node might not be snapped. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=521449
Available in Sirius 5.1.0, see https://wiki.eclipse.org/Sirius/5.1.0.