I’d like to propose a change of behavior on “Duplicate Layer” action. This action is available in Layers Panel, next to “Move Up” and “Move Down” buttons.
This action duplicates the selected layers, placing the new duplicates as siblings (and on top) of the each originally selected one.
There is a special case I want to handle differently of current behavior:
Let this be the composed scene of a synfig animation:
User selects a Group Layer and (at least) one of its inner layers, as seen in picture below (group
D2 and and layer
Translate, that is ‘inside’ of
So, the user clicks on “Duplicate Layer” button, and this is the result: it duplicates the Group Layer and its contents as expected (we can see in picture below two Group at same hierarchy level, both named
D2). But it also doubles the
Translate in original
D2 group. Check this picture:
Although somehow logical, I don’t know if any user would expect it. And currently Synfig crashes (since 1.3.0 at least). Not immediately, but when the file is closed.
So, finally, my question is: is it OK to make Synfig Studio avoid the duplication of selected layers that are ‘inside’ already selected groups?