Community
Participate
Working Groups
Created attachment 268636 [details] edgeLabelsMoveTest.zip 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.
Created attachment 268637 [details] Diagram with invisible labels very far from their edges.png
For this bugzilla: * A fix must be added to avoid the computation problem * A migration participant must be added to fix the corrupted diagram.
New Gerrit change created: https://git.eclipse.org/r/99052
New Gerrit change created: https://git.eclipse.org/r/99053
New Gerrit change created: https://git.eclipse.org/r/99056
New Gerrit change created: https://git.eclipse.org/r/99051
New Gerrit change created: https://git.eclipse.org/r/99153
Gerrit change https://git.eclipse.org/r/99052 was merged to [v4.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=b194889dac3fdbcbd49f16c0d9457403774939f3
Gerrit change https://git.eclipse.org/r/99051 was merged to [v4.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=0f3bb475971352c3d9efa1f7c34c5cdf92cb8728
Gerrit change https://git.eclipse.org/r/99153 was merged to [v4.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=14766f085904c8032bdc462bf92a2238a9d4f389
Gerrit change https://git.eclipse.org/r/99056 was merged to [v4.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=ab6ead03dda857e350075e913c581dca40120d63
Gerrit change https://git.eclipse.org/r/99053 was merged to [v4.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=a118ac6ebb4177da95c51570b65c5775b998e4fa
New Gerrit change created: https://git.eclipse.org/r/99645
Gerrit change https://git.eclipse.org/r/99645 was merged to [v4.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=8f3b1f3d58d5482d2ee31c0bddec95f2aa790e33
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/100049
Gerrit change https://git.eclipse.org/r/100049 was merged to [v4.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=912ba3bf94f350a5585955b71766e2f7c7d61204
Validated with Sirius 4.1.6-S20170628-064814
Available in Sirius 4.1.6, see https://wiki.eclipse.org/Sirius/4.1.6 for details.