I seem to have ended up with an object outside of any layer. The Objects dialog shows it as a child of the root like any layer; the Layers dialog does not show it as a layer, though. Anybody know if that's an expected possibility?
1.0alpha2 (4ce689b25c, 2019-06-24), Windows 7, 64-bit
Opening SVGs from other programs* with Inkscape will likely have the content in the root, with no layers in the document.
Opening bitmap images with Inkscape will place them in the root, with no layers in the document.
(The above can be *imported* into Inkscape, and will appear as a group in the active layer.)
Some Inkscape extensions will create objects into the root.
*Other programs that generate SVGs will not likely have layers that Inkscape recognizes, as layers are not supported in SVG, but Inkscape can create groups into layers for the convenience of editing.
Thanks, mostly I just wondered if this was a bug, in which case I would try to pay attention to how I got there next time. It's a 3D object that landed in the root; never actually seen an imported bitmap do that. But I've been switching back and forth between the 1.0alpha2 version and the release version on this file in a highly unstructured manner, so probably would never be able to reconstruct how it happened in this particular case. I could share the SVG but don't really want to waste anybody's time on it. I guess I did run the perspective extension on this file multiple times, though the 3D object was not one of the two objects selected. Can't think of anything else "outside" of Inkscape that was involved. I'll post again if I can make it reproducible.
When you say "3D object" you must mean that it was copied from a 3d program? Or possibly it's simulated 3d? Because Inkscape is not a 3d program, so that object might not still be technically 3d when you save or export the file.....depending what you mean about 3d in this case.
"Root" is the SVG itself, you can't go further up in the hierarchy... Inkscape layers are special groups in the root.
e.g. If you have three objects in Layer1, and convert Layer1 to a simple group using the object manager, you have a group in the root, not in a layer... If you ungroup that group, you will have three objects in the root and not in any layer.
I've seen the root layer issue with, for example, SVGs saved from Wikipedia. You'll also get no layers if you open an SVG that Inkscape saved as 'Plain SVG'.
I like having layers though, so I'll usually add one in the layers panel, then select everything on the page, cut, click the new layer in the layers panel to select, then 'paste in place'. You can then add more layers and move objects around, if required.
By "3D box," I mean Shift-F4, or the Inkscape object you get when you use the tool labelled "Create 3D boxes". Nothing in this file was created outside of Inkscape except a few bitmaps imported for halftone patterns (I suppose one could consider the "Perspective" extension as "outside Inkscape"). Again, I was switching between alpha and release versions, so it's possible I ended up in this state without that representing a bug in either version, only an incompatibility between them that might not ever bite anyone else or be worth addressing. I also use "Pop selected objects out of group" probably more than the majority of users, but a little clicking around with that did not provide any ability to move an object into the root.
By "3D box," I mean Shift-F4, or the Inkscape object you get when you use the tool labelled "Create 3D boxes"
Oooohhh! Good, that solves that. I didn't see "box" I just saw "3d object". And we have had people thinking Inkscape is a 3d program before. so I just wanted to be sure.
I seem to have ended up with an object outside of any layer. The Objects dialog shows it as a child of the root like any layer; the Layers dialog does not show it as a layer, though. Anybody know if that's an expected possibility?
1.0alpha2 (4ce689b25c, 2019-06-24), Windows 7, 64-bit
Welcome to the forum!
Are you able to share the SVG file?
Opening SVGs from other programs* with Inkscape will likely have the content in the root, with no layers in the document.
Opening bitmap images with Inkscape will place them in the root, with no layers in the document.
(The above can be *imported* into Inkscape, and will appear as a group in the active layer.)
Some Inkscape extensions will create objects into the root.
*Other programs that generate SVGs will not likely have layers that Inkscape recognizes, as layers are not supported in SVG, but Inkscape can create groups into layers for the convenience of editing.
Thanks, mostly I just wondered if this was a bug, in which case I would try to pay attention to how I got there next time. It's a 3D object that landed in the root; never actually seen an imported bitmap do that. But I've been switching back and forth between the 1.0alpha2 version and the release version on this file in a highly unstructured manner, so probably would never be able to reconstruct how it happened in this particular case. I could share the SVG but don't really want to waste anybody's time on it. I guess I did run the perspective extension on this file multiple times, though the 3D object was not one of the two objects selected. Can't think of anything else "outside" of Inkscape that was involved. I'll post again if I can make it reproducible.
When you say "3D object" you must mean that it was copied from a 3d program? Or possibly it's simulated 3d? Because Inkscape is not a 3d program, so that object might not still be technically 3d when you save or export the file.....depending what you mean about 3d in this case.
Isn't "the root" a layer? I thought it was. It could be an object that isn't a layer itself, but is just in a layer.
Happy Inkscaping!
"Root" is the SVG itself, you can't go further up in the hierarchy... Inkscape layers are special groups in the root.
e.g. If you have three objects in Layer1, and convert Layer1 to a simple group using the object manager, you have a group in the root, not in a layer... If you ungroup that group, you will have three objects in the root and not in any layer.
Imported objects will appear in a layer. Opened objects that are not Inkscape SVGs will appear in the root.
I've seen the root layer issue with, for example, SVGs saved from Wikipedia. You'll also get no layers if you open an SVG that Inkscape saved as 'Plain SVG'.
I like having layers though, so I'll usually add one in the layers panel, then select everything on the page, cut, click the new layer in the layers panel to select, then 'paste in place'. You can then add more layers and move objects around, if required.
By "3D box," I mean Shift-F4, or the Inkscape object you get when you use the tool labelled "Create 3D boxes". Nothing in this file was created outside of Inkscape except a few bitmaps imported for halftone patterns (I suppose one could consider the "Perspective" extension as "outside Inkscape"). Again, I was switching between alpha and release versions, so it's possible I ended up in this state without that representing a bug in either version, only an incompatibility between them that might not ever bite anyone else or be worth addressing. I also use "Pop selected objects out of group" probably more than the majority of users, but a little clicking around with that did not provide any ability to move an object into the root.
Oooohhh! Good, that solves that. I didn't see "box" I just saw "3d object". And we have had people thinking Inkscape is a 3d program before. so I just wanted to be sure.