should be okay to name layers with same label
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
John Smith |
Bug Description
In earlier versions of Inkscape, the name of layers was implemented as the id="layer3" attribute. This meant that layer names had to be unique, since id="" attribute values are used to uniquely identify any and all elements in the file. (See old bugs https:/
Now, Inkscape does not depend on id="" for the layer names shown in the Layers dialog. Instead, the id="" is a unique identifier for scripts and xml handling, and the inkscape:label="My Friendly Layer Name" attribute is shown in the Layers dialog.
There is no technical reason for layer names (inkscape:label="" attribute values) to be unique, and it can be limiting for the user to get artificially-
(Also according to https:/
I'm proposing (and patching) Inkscape to behave this way:
* internal id="" attributes must be unique, no change
* duplicated layers change their label to be initially unique (inkscape:label="My Layer copy"), no change
* new layers get new unique labels (inkscape:
* user is able to rename labels to be non-unique in xml editor and changes show up in layers dialog, no change
* user is able to rename labels to be non-unique in Layers dialog (fix)
Changed in inkscape: | |
importance: | Undecided → Medium |
milestone: | none → 0.47 |
status: | New → Confirmed |
Changed in inkscape: | |
milestone: | 0.47 → none |
tags: | added: layers |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
This is true, but it'd be nice to have the option to still enforce unique names, as it can be confusing otherwise.