Community
Participate
Working Groups
1. Create a large rectangle geoshape 2. Create a small ellipse geoshape and place it in the middle of the rectangle 3. Select ellipse and then using "Ctrl" button append the large rectangle to the selection. 4. Save the selection to image from the context menu or copy paste the selection into MS Word. Note that the ellipse doesn't show up on the image. It is overlapped by the rectangle. Therefore editparts to be exported to image are to be supplied sorted by their z-order on the diagram. Note that when the whole diagram is exported to image editparts don't need to be sorted (primary editparts are sorted as needed already). The complication is where to sort the editparts in z-order... on the diagram generator level or before they are passed to the diagram generator, i.e. when ui delegates to image generation utilities. I'm thinking of sorting them before they are passed to diagram generator to reduce the behavior change impact.
Created attachment 140545 [details] proposed patch Patch for sorting editparts before they get to diagram generator.
Hi Alex, the patch looks good to put into R2_2_maintenance and HEAD.
Committed to HEAD and maintenance for 2.3 and 2.2.1 Also changed the default file format to PNG from GIF (not part of the attached patch)
Fix is reqyired for 2.1.4 patch build
Created attachment 147144 [details] 2.1.4 compatible patch 2.1.4 compatible patch uploaded
Patch is good to commit to R2_1_maintenance.
Committed to R2_1_maintenance
2.1.4 patch is missing the fix for CopyImageCommand class that is present in 2.2.x fix
Created attachment 149673 [details] 2.1.4 additional patch missed in the first 2.1.4 patch Committed in R2_1_maintenance
Finally complete fix for 2.1 maintenance is there.
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug