Comment 0 for bug 510077

Revision history for this message
Pierre-Antoine Champin (pchampin) wrote : [wishlist] Copy/paste duplicates graidents and filters

I noticed that everytime I copy/paste an object into the same document, its gradient(s) and filter(s), if any, are duplicated.

I assume this is a deliberate choice, in order to allow each copy to have their gradient(s)/filter(s) modified without affecting the other object, just as if it was an *attribute* of the object. However, it seems to me as inconsistent for the following reasons:
- Gradients and filters are shown as autonomous objects in their respectife Edtor dialogs.
- Deleting an object does *not* delete its gradient(s) or filter(s) -- so they really are autonomous.
So a document ends up cluttered with a lot of unused gradient(s) and/or filter(s).

I suggest to add an option "do not copy gradients and filters" in the preferences, which would be disabled by defaut (in order to keep the current behaviour for those who like it). But when this option is turned on, copying an object in the same document would create an object linking to the same gradient(s) and filter(s).
It would still be quite easy to make them independant by dupicating a gradient or a filter manually before editing it.