--- Alan Horkan <horkana@...44...> wrote:
On Sun, 26 Sep 2004, bulia byak wrote:
I do not think you get my point of view on this. I dont understand why the user would really want manualy have to make the decision about cleaning up unused <defs> and certainly not why they would want to do this often enough to want a menu item for it.
And I think your missing the point entirely.
I think this exposing implementation details to the user and adding unnecessary complexity for a fairly obscure use case.
nope, its empowering the user to easily clean their defs from their doc when they choose.
If you want to reuse something in <defs> later on why wouldn't you leave it attached to something small and discreetly off page?
But why should you? its in the defs, its none visible, If you dont tell inkscape to delete it, then you should be able to expect inkscape not to. What your suggesting is that a user should know that he should keep a swatch of a pattern or whatever using the def he created to stop the program automatically wiping away his hard work when he saves. The only way most users will learn that is from the bad experience of having something they wanted keeping deleted. Plus, keeping swatches off the page is a sloppy solution.
Inkscape itself should be automatically storing <defs> such as gradients and patterns for later reuse in all images not just the current document. It makes more sense to me to want to be able to tell Inkscape to add store <defs> rather than to leave them floating around in the document.
That maybe, but until then, I dont want to go round blindly deleting stuff, but i do want us to make it easy for people to clean up after themselves if they want to.
Why would they want to keep unused <defs> after saving?
To use them in future. if you didnt want to keep unused defs, why would you create swatches?
Why would the users not include a small shape offpage that uses the <defs> if they really wanted to keep it around? Wouldn't this be easier and more managable?
how is adding an unnecessary object to the doc easier than not doing anything? and what about when they load the svg in a 3rd party viewer that gets viewboxes wrong? plus if its in a swatch they cant automatically delete unused defs if they want to later, as its now used.
Even if it is really necessary it only begins to make sense as a preference of the save/export.
preference implies a choice about default mode of operation to me, this is a one off action you perform on the current file, hence it living in the file menu.
Do you get what I mean? Am I making some sense yet?
not really.
_______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com