Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336121

Summary: Save as Image does not copy the connections that are inside another container shape
Product: [Modeling] Graphiti Reporter: Panneer Selvam <selvam.jp>
Component: CoreAssignee: Tim Kaiser <tim.kaiser>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: michael.wenz, tim.kaiser
Version: 0.7.0Flags: tim.kaiser: indigo+
Target Milestone: 0.8.0   
Hardware: All   
OS: All   
Whiteboard: Indigo RC1 theme_bugs

Description Panneer Selvam CLA 2011-02-02 13:11:31 EST
Build Identifier: 

In the diagram there is a container shape which has inside some other container shapes and some connections. When I select this parent container shape and try to save as image, only the parent container and the inner shapes are copied. The connections inside the parent container is not copied.


Reproducible: Always

Steps to Reproduce:
1.Display a diagram with one parent container with some inner shapes and connections
2. select the parent container shape and right click "save as image". Save it
3. Open the saved image. The connection are missed in the saved image
Comment 1 Michael Wenz CLA 2011-02-03 03:53:18 EST
This issue occurs when e.g. FixPointAnchors are used, while it works correctly when ChopboxAnchors are used.
Comment 2 Tim Kaiser CLA 2011-02-03 07:37:38 EST
The methods getModelSourceConnections and
getModelTargetConnections in ShapeEditPart
do only consider ChopBoxAnchors.
Comment 3 Tim Kaiser CLA 2011-05-17 04:28:28 EDT
fixed in GefService (getModelSourceConnections and getModelTargetConnections need
to stay stable)
Comment 4 Michael Wenz CLA 2011-06-24 08:44:09 EDT
Part of Graphiti Indigo 0.8.0