> The name should be a verb, so a better name is "Clean up document".
This seems the most accepted term.

> There could be a checkbox that says 'Vacuum defs on save' that defaults to off.
Will add a checkbox like this. Default off is safest - at least until the "loss of data" issue is fixed.

https://bugs.launchpad.net/inkscape/+bug/1015352


From: Krzysztof KosiƄski <tweenk.pl@...400...>
To: mathog <mathog@...1176...>
Cc: inkscape-devel@lists.sourceforge.net
Sent: Tuesday, June 12, 2012 4:16 AM
Subject: Re: [Inkscape-devel] Rename 'Vacuum defs'

2012/6/11 mathog <mathog@...1176...>:
> The problem with "Vacuum Defs" is that a naive user will likely have no
> idea why it needs to be called
> in the first place.  Place me in a related category - I have yet to
> find an instance where I would not have
> wanted vacuum defs to have run automatically whenever a definition was
> left dangling, but I have had to
> use vacuum defs many times to clean out these leftovers.
>
> What about making vacuum defs the default on an optional action which
> occurs whenever
> a file is saved as an SVG?

Vacuum defs causes loss of data (e.g. it can remove complex patterns
or gradients). In general it is very wrong to lose user data without
an explicit action. There could be a checkbox that says 'Vacuum defs
on save' that defaults to off. I don't think the ability to perform an
arbitrary action is really that useful; adding specific things that
can happen when saving (vacuum defs, exporting to specified formats)
is better.

Vacuum defs on save would make it impossible to purposefully include
unused defs in a file, for example when storing a few often used
gradients in a blank document template, or at least prevent people
from using Inkscape to create such documents.

Regards, Krzysztof

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@...941...rge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel