root-level items trapped in root after first layer created

Bug #166625 reported by Mental-users
2
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Low
Buliabyak-users

Bug Description

As things are currently, adding a layer to a document
that formerly had none will mean that any items at the
root level won't always be easily accessible.

Since we can't easily return to the root level anymore,
except by selecting individual items there (which won't
work for e.g. locked or hidden items), we need to deal
with the transition of a document that didn't have
layers into a layered document.

Probably the most straightforward approach would be,
when the user creates the first layer in the document,
create an extra bottom-most layer ("Background"?) and
move any root-level SPItems there. The resulting
document should behave more like users seem to expect.

We could even do this automatically on load, but this
kind of messing with the document structure is probably
better reserved to explicit actions by the user
(sometimes a flat document structure is important to
preserve).

Tags: layers
Revision history for this message
Axiomx11 (axiomx11) wrote :

Originator: NO

I would like to second this request and suggest that all new documents
start with a layer (Layer 1?), and that we don't allow people to put shapes
in the quasi-layer of rootness which cannot be accessed/hidden/locked in
the layers dialog.

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

Originator: NO

But of course any new document is created with a layer which is made
current. That's in the new document template. This bug only applies to old
Inkscape documents (created before layers appeared in Inkscape) or to
non-Inkscape documents in which the user creates layers using Inkscape. So
it's pretty limited in scope.

Revision history for this message
Peter Lewerin (vermeil-deactivatedaccount) wrote :

I'm setting this to invalid as it shouldn't be an issue in typical use, and if it does occur, it can be fixed in the XML editor.

Changed in inkscape:
status: New → Invalid
su_v (suv-lp)
tags: added: layers
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.