cannot ungroup <svg> child elements

Bug #166327 reported by Frederik Elwert on 2005-02-18
Affects Status Importance Assigned to Milestone
Martin Owens

Bug Description

I have an svg chart generated with ChartSVG - http:// - that contains a svg
element in the middle of the file. When i select that svg
in inkscape, the status bar tells me it was a group, but i
can't ungroup it (and i'm not shure whether i should be or

But when i select child elements of that svg with the xml
editor, the path nodes, selection markers etc. are drawn
in the original viewport, not in that one of the child svg.

It's not a big problem, but seems to be a quite
unexpected behaviour and makes the editing of images
like that a bit uncomfortable...

Ryan Lerch (ryanlerch) wrote :

Thank you for taking the time to report this bug and helping to make Inkscape better. You reported this bug a long while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Inkscape release? Thanks in advance.

Changed in inkscape:
importance: Medium → Low
status: New → Incomplete

No, I don't see it for the children of the inner svg element. They are now selected correctly and their bounding boxes are correct.

But the bounding box of the svg element itself seems wrong. It doesn't correspond with the sum of the bounding boxed of its children.

The issue of not being able to ungroup such an inner svg element is still there, but I'm not sure if this is a bug or not.

ScislaC (scislac) wrote :

Can you please attach a file exhibiting this issue?

tags: added: groups
removed: ungroup
su_v (suv-lp) wrote :

reproduced with Inkscape 0.47 r22583 on OS X 10.5.8

I don't know if it is really a bug either.
- the bounding box of the inner svg element looks ok to me (includes all child elements)
- selecting child elements of the inner svg element shows the correct bbox,
- the groups (the pie chart) inside the inner svg element can be ungrouped,
- the inner SVG element itself cannot be un-grouped even though the status line says 'Group of 13 objects in root'.

Changed in inkscape:
status: Incomplete → New
Krzysztof Kosinski (tweenk) wrote :

Inkscape probably thinks the <svg:g> that is a child of <svg:svg> group is a layer.

Martin Owens (doctormo) wrote :

I've allowed svg elements to be ungrouped. Tested with the svg file attached.

Note: The code had a comment which specifically said it was not allowing svg elements to be ungrouped. I've messaged the dev in question and the mailing list just in case there's a good reason not to allow this. For now, it's fixed in trunk.

Changed in inkscape:
assignee: nobody → Martin Owens (doctormo)
status: New → Fix Committed
su_v (suv-lp) on 2013-06-14
Changed in inkscape:
milestone: none → 0.49
Bryce Harrington (bryce) on 2015-02-21
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers