Bug 546544 - Pb with collapsed region compartment with edges linked to node
Summary: Pb with collapsed region compartment with edges linked to node
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 6.1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 6.2.1   Edit
Assignee: Laurent Fasani CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on: 546250
Blocks:
  Show dependency tree
 
Reported: 2019-04-18 03:04 EDT by Laurent Fasani CLA
Modified: 2019-07-09 03:10 EDT (History)
2 users (show)

See Also:


Attachments
ComponentProject (5.17 KB, application/x-zip-compressed)
2019-04-18 03:07 EDT, Laurent Fasani CLA
no flags Details
DesignerTestProject (145.68 KB, application/x-zip-compressed)
2019-04-18 03:07 EDT, Laurent Fasani CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Fasani CLA 2019-04-18 03:04:55 EDT
+++ This bug was initially created as a clone of Bug #546250 +++

With collapsed compartment, it is possible, in some cases, to have edge visible even if source or target is not visible. This problem is similar to bugzilla 545533 but the fix of it does not resolve this new issue. The difference is that the element moved is a node and not a container.

Steps to reproduce:
* Import the projet "DesignerTestProject" (from DesignerTestProject.zip): This project is a copy of data contained in "/org.eclipse.sirius.tests.junit/data/unit/compartments" but completed for this case.
* Open the diagram "regionWithEdgesAndNodes"
* Collapse the "region" of "newPackage1" container (select it and click on the "-" button)
* The edge from "Left_p3" node (the gray one) and "newPackage1" disappears: OK.
* Move the note "Left_p3" (the gray one)
* The edge appears: KO
Comment 1 Laurent Fasani CLA 2019-04-18 03:07:05 EDT
Created attachment 278322 [details]
ComponentProject
Comment 2 Laurent Fasani CLA 2019-04-18 03:07:51 EDT
Created attachment 278323 [details]
DesignerTestProject
Comment 3 Eclipse Genie CLA 2019-04-18 04:48:25 EDT
New Gerrit change created: https://git.eclipse.org/r/140810
Comment 4 Eclipse Genie CLA 2019-04-18 04:48:27 EDT
New Gerrit change created: https://git.eclipse.org/r/140809
Comment 5 Eclipse Genie CLA 2019-04-29 09:42:33 EDT
New Gerrit change created: https://git.eclipse.org/r/141332
Comment 9 Pierre-Charles David CLA 2019-06-24 03:59:25 EDT
Available in Sirius 6.2.1: https://wiki.eclipse.org/Sirius/6.2.1
Comment 10 Eclipse Genie CLA 2019-07-08 11:50:54 EDT
New Gerrit change created: https://git.eclipse.org/r/145629