'rename layer' should be grayed out when on '(root)'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Low
|
Unassigned |
Bug Description
Inkscape 0.48.4 r9939
Windows 7 x64 SP1
Bug:
Just after importing/linking an image in Inkscape and it's put on the '(root)' layer by default, you are allowed to rename that 'false' layer when you shouldn't be able to.
Steps to reproduce: (steps 1-2 done in Windows, not sure how other OS's do this)
1. Select an image to open/import into Inkscape in File Explorer (png, jpg).
2. Right click on it and 'Open with' in Inkscape.
3. When the option screen shows up to allow you to either 'embed' or 'link' the image in the file, select either. It doesn't matter which you choose, it happens with both options.
4. Once Inkscape is displaying the image you imported, go up to the menu 'Layer' and click 'Rename Layer'.
What happens:
The 'Rename Layer' window shows up allowing you to rename the false '(root)' layer.
What should happen:
Nothing, as the 'Rename Layer' option should be grayed out and prohibit you renaming '(root)' as it's not a true layer and can't be renamed in the first place.
tags: | added: layers ui |
It appears that you can do this with any object.
The document root is in fact given a new name with the "inkscape:label=" attribute. See attached.