Quoting Aaron Digulla <digulla@...310...>:
There is a bug in the layers code when loading an SVG document with a single group (g element) and adding layers to it.
In this case, Inkscape will sometimes show "Root" as a layer
This is by design. "Root" shows up as a layer when it has objects in it.
and when I move objects between the layers, they get sometimes lost.
I even had the effect that I moved six elements and afterwards, three were in the layer and three were gone.
Hmm, can you give an example of how to reproduce that step-by-step?
Alternatively, move all objects into the first created layer.
That's a good idea.
Or, even better, realize layers with classes. Since an object can be in several classes (you have to separate the class names with blanks, I think), objects could be in several layers at once.
They wouldn't behave like "layers" (in the "graphic design application" sense of the word) then... not that that functionality wouldn't be nice to have under another name.
-mental