Remove unnecessary groups and layers

Bug #171248 reported by Pfrandsen-users
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Wishlist
Unassigned

Bug Description

First: Thank you for a great tool!

The request:

It seems that many tools that generate reports/output
in SVG add many unnecessary groups (and perhaps
layers). One example is WebLogic Integration which can
export a workflow definition as SVG.

All these extra groups makes it quite difficult to edit
the SVG file.

It would be very nice to have a "simplification"
feature that removes unnecessry groups (and layer) -
like the simplification feature you have for paths.

Alternatively - or in addition - to the simplification
command, it would be very valuable to be able to
remove/delete a group node in the XML editor withouth
removing the contents of the node (like an ungroup
feature in the XML editor).

Regards

Peter Frandsen

Tags: groups svg
Revision history for this message
Pfrandsen-users (pfrandsen-users) wrote : Remove unnecessry groups and layers
Revision history for this message
Horkana-users (horkana-users) wrote :

automatically deciding what you consider unnecessary isn't
as easy as it sounds

a flatten layer function is planned (may already be
included, dont have a recent copy of inkscape handy)

see also "Ungroup All"
http://sourceforge.net/tracker/index.php?func=detail&aid=1418223&group_id=93438&atid=604309

this request might be covered already by more specific requests

nightrow (jb-benoit)
Changed in inkscape:
importance: Low → Wishlist
status: New → Confirmed
Revision history for this message
Rena Kunisaki (i-am-inuyasha) wrote :

Well, we can be certain that groups of one object are almost always unnecessary. I tend to leave them behind when I cut an object from a group or move it to another layer without realizing it's a group of two.

summary: - Remove unnecessry groups and layers
+ Remove unnecessary groups and layers
jazzynico (jazzynico)
tags: added: groups
removed: other
Revision history for this message
jazzynico (jazzynico) wrote :

Partially implemented in Inkscape 0.48, thanks to the Scour output extension, using File>Save As>Optimized SVG (check "Groupe Collapsing" and "Enable Id Stripping").
Only works with groups which have no attribute.

tags: added: svg
removed: svg-xml
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.