Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 518870 - Bug during edge label location computation
Summary: Bug during edge label location computation
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 3.1.0   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: 5.1.0   Edit
Assignee: Laurent Redor CLA
QA Contact: Julien Dupont CLA
URL:
Whiteboard:
Keywords:
Depends on: 517437 518073 518441 518871
Blocks: 518440
  Show dependency tree
 
Reported: 2017-06-28 04:35 EDT by Laurent Redor CLA
Modified: 2017-11-08 03:37 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Redor CLA 2017-06-28 04:35:27 EDT
+++ 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.
Comment 1 Eclipse Genie CLA 2017-07-04 04:34:38 EDT
New Gerrit change created: https://git.eclipse.org/r/100600
Comment 2 Eclipse Genie CLA 2017-07-04 04:34:39 EDT
New Gerrit change created: https://git.eclipse.org/r/100599
Comment 3 Eclipse Genie CLA 2017-07-04 04:34:43 EDT
New Gerrit change created: https://git.eclipse.org/r/100602
Comment 4 Eclipse Genie CLA 2017-07-04 04:34:44 EDT
New Gerrit change created: https://git.eclipse.org/r/100598
Comment 5 Eclipse Genie CLA 2017-07-04 04:34:45 EDT
New Gerrit change created: https://git.eclipse.org/r/100603
Comment 6 Eclipse Genie CLA 2017-07-05 09:09:48 EDT
New Gerrit change created: https://git.eclipse.org/r/100719
Comment 12 Pierre-Charles David CLA 2017-11-08 03:37:15 EST
Available in Sirius 5.1.0, see https://wiki.eclipse.org/Sirius/5.1.0.