| Summary: | Inconsistent GMF location after region insertion | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Laurent Redor <laurent.redor> | ||||
| Component: | Diagram | Assignee: | Laurent Redor <laurent.redor> | ||||
| Status: | CLOSED FIXED | QA Contact: | Julien Dupont <julien.dupont> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | julien.dupont, laurent.fasani, pierre-charles.david | ||||
| Version: | 3.1.0 | Keywords: | triaged | ||||
| Target Milestone: | 4.1.0 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 10 | ||||||
| See Also: |
https://git.eclipse.org/r/75934 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=9809db17095bc93475f818679ff2d632ca914293 |
||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 497404, 499829 | ||||||
| Attachments: |
|
||||||
|
Description
Laurent Redor
New Gerrit change created: https://git.eclipse.org/r/75934 This problem is visible if you launch the test CompartmentsCreationTest.testAddSemanticElementInHorizontalStack from https://git.eclipse.org/r/#/c/75608 The above gerrit fixes the problem. please could you provide a test scenario? Gerrit change https://git.eclipse.org/r/75934 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=9809db17095bc93475f818679ff2d632ca914293 Created attachment 262942 [details]
sampleProjectFor496744.zip
Steps to reproduce for validation:
* Import project "Compartments" from sampleProjectFor496744.zip
* Open diagram VStackDiag
* Open My.ecore with the "Sample Ecore Model Editor"
* Add a new class, named "Left_class2", just after "Left_class1" in "P1"
* Save the ecore file
* Go to the diagram VStackDiag, it was refreshed and the new "Left_class2" class is visible.
* Save the session
* Open the aird in a text editor, and search the GMF location of the class "Center_class2".
* The y location should be 131 (and not 182).
Available in Sirius 4.1.0, see https://wiki.eclipse.org/Sirius/4.1.0 for details. |