GNOME Bugzilla – Bug 95516
include grouping information in Shape Export
Last modified: 2014-02-01 21:44:06 UTC
not filing this under shapes as it is more an export problem (and shapes was planned to be for more for shapes to be added) the shape export should inlcude grouping information. so if i were to use 3 polygons to make some sort of a cube shape / \ |\ /| | | | \|/ export it as a shape, add it to a sheet and use it i would then be able to ungroup it into its seperate parts. This bug might need to have a dependecy on scaling/resizing of groups of shapes. From reading the document custom-shapes i know that i could hand edit files and add the grouping information in manually. <svg:g> This is the group element. You can place other drawing elements inside it. The contents of the style attribute on a group element will propagate to the contained elements (unless they override it).
The SVG export in Dia 0.90 does not seem to include grouping information either. I was trying to grouping information into a .shape file manually but although add it in but i just cannot seem to get it to work.
grouping is neither supported on export nor on import, maybe this would be an enhancement - but maybe not ;)
I beg to differ. The XFig import filter makes groups from XFig groups, though the export filter doesn't. It is possible, however, since all objects are sent to the renderers before doing part-wise rendering. Being able to ungroup a single shape is ... very different from what we do now. The objects in the shape are reduced to geometric pieces, so you wouldn't get much out of it anyway.
svg export does support grouping nowadays (and also svg import), but the shape exporter still does not. <svg:g></svg:g> during read of a shape does work though.
Rereading the oiginal request: "ungrouping a shape" is so far away from the current design that I think this will never happen.