Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #517437 +++ Since bug 465328, there are some labels computation problems. When moving an edge the label is sometimes moved very far from its edge. Currently 2 scenarios have been identified. The label is potentially not visible but the diagram has strange scrollbar without any visible reason. I completed the extisting data for automatic tests of 465328 for the below scenarios. Scenario 1: * Import project "edgeLabelsMoveTest" from "edgeLabelsMoveTest.zip" * Open the diagram "DiagramWithSmallObliqueEdge" * Move class "L" to the bottom right corner of the diagram * KO: The center label of the edge, "toMCenter", is moved around {-5700, -1900}; far from its edge. Scenario 2: * Import project "edgeLabelsMoveTest" from "edgeLabelsMoveTest.zip" * Open the diagram "DiagWithNodeAndTreeLayout" * Set the zoom level to 25% (to see all green logical functions) * Select all the green logical functions * Move them under the blue logical functions (you can you the scroll mouse to zoom out, to facilitate the move) * Everything is OK. * Open the diagram "DiagWithNodeAndTreeLayoutAndIconOnEdgeLabel" * Set the zoom level to 25% (to see all green logical functions) * Select all the green logical functions * Move them under the blue logical functions (you can you the scroll mouse to zoom out, to facilitate the move) * KO: A big horizontal scroll appears. This reveals that some edge labels, not visible in this kind of diagram, have "big" coordinates.
New Gerrit change created: https://git.eclipse.org/r/99593
New Gerrit change created: https://git.eclipse.org/r/99592
New Gerrit change created: https://git.eclipse.org/r/99595
New Gerrit change created: https://git.eclipse.org/r/99591
New Gerrit change created: https://git.eclipse.org/r/99596
Gerrit change https://git.eclipse.org/r/99593 was merged to [v3.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=19431b10fb3dc5d6d8a61504a9c722a46f2964d5
Gerrit change https://git.eclipse.org/r/99592 was merged to [v3.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c0a4e6cd4b203376a964bfcb02bac27a0e93dbe6
Gerrit change https://git.eclipse.org/r/99591 was merged to [v3.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=483a08b390ec2ac0b46677c07736ebeec4421965
Gerrit change https://git.eclipse.org/r/99596 was merged to [v3.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=f957a8005ba88a3c5df82923c62ee98dc9aa68e2
Gerrit change https://git.eclipse.org/r/99595 was merged to [v3.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c0747b51a2dbdd9c379e2876eadd503afa87d989
This bug can cause other problems concerning layout of diagram. Indeed, the very huge coordinates of label can lead to computing error caused by limit (MIN or MAX) of INTEGER that is reached. The migration participant must at least moved the corrupted nodes to a more readable layout.
New Gerrit change created: https://git.eclipse.org/r/100096
Gerrit change https://git.eclipse.org/r/100096 was merged to [v3.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=1718caa30b49ac3c0830dec3262f38e7e5c25bc5
Created attachment 269140 [details] Project for steps to reproduce compatible with Sirius 3.1.x
Verified with Sirius 3.1.9-S20170627-085227
Available in Sirius 3.1.9, see https://wiki.eclipse.org/Sirius/3.1.9 for details.