I have a file in which an object that I want to "Raise selection to top" doesn't quite go to the top. There are still other objects 'above' of it. This also happens when I create new objects in Inkscape -- they won't go to the top. Does anybody have any suggestions on how to troubleshoot this?
I should mention that I am dealing with an svg file that was originally created in Inkscape but with extra objects pasted into the end of the file with my text editor. It's these extra objects which my within-Inkscape-created objects cannot rise above. Maybe there is some nuance to the svg sequence (a meta layer?) that I am overlooking -- I'm stumped.
If all else fails I guess I can hand-edit the svg file to move the objects I want at top to the end of the file. But first I'd like to hear what y'all think.
Looking forward,
"Raise selection to top" ... doesn't.
Re: "Raise selection to top" ... doesn't.
Raise to top has always worked for me. Maybe someone could spot the issue if you provide the file.
Re: "Raise selection to top" ... doesn't.
Is the object that can't rise in a group? It can only go to the top of the group. Cut it out, exit the group by double-clicking outside it and do Paste in Place.
This can also happen if you have layers (they are basically specially labeled groups.)
This can also happen if you have layers (they are basically specially labeled groups.)
just hand over the chocolate and nobody gets hurt
Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download
Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download
- AstroStudio
- Posts: 20
- Joined: Wed Sep 29, 2010 4:35 pm
Re: "Raise selection to top" ... doesn't.
I might provide a stripped-down file if it comes to that.
Also I need to add that something I said above was mistaken. If I create new objects in Inkscape, then actually they will go to the top. But if I select or copy a preexisting object that was in the file originally, then it will not go to the top.
Also I need to add that something I said above was mistaken. If I create new objects in Inkscape, then actually they will go to the top. But if I select or copy a preexisting object that was in the file originally, then it will not go to the top.
- AstroStudio
- Posts: 20
- Joined: Wed Sep 29, 2010 4:35 pm
Re: "Raise selection to top" ... doesn't.
To prkos: it does not seem to matter whether or not the object is in a group. What matters is that the object was in the file originally -- that is, before I pasted in the extra objects (which the original objects will not surmount.)
Layers... hmmm. I did not explicitly create "layers" -- I do not even know how they work. Maybe implicitly? I'll see what I can find out...
Layers... hmmm. I did not explicitly create "layers" -- I do not even know how they work. Maybe implicitly? I'll see what I can find out...
Re: "Raise selection to top" ... doesn't.
When externally editing Inkscape SVG files in a plain text editor, you either have to expected unexpected results ( ) or exactly know what you add where (sequence of objects and structure of the SVG elements is important).AstroStudio wrote:I am dealing with an svg file that was originally created in Inkscape but with extra objects pasted into the end of the file with my text editor. It's these extra objects which my within-Inkscape-created objects cannot rise above.
If you just pasted a bunch of objects in the text editor at the end (before the closing </svg> tag), it means that
- your objects are outside the Inkscape layer structure (in <root>, which cannot be accessed via Inkscape's 'Layers…' dialog)
- since all layer groups are earlier in the file, the pasted objects will always be rendered above all content that is placed inside the regular layer structure. Changing the stack order of the layers in the 'Layers…' dialog can't change this.
- In Inkscape, select all objects you manually pasted into the SVG source file, cut (Ctrl+X), choose a layer, paste in place (Ctrl+Alt+V)
- or - alternatively - when editing the SVG source file - put them into a group with the special attribute for Inkscape layers:
Code: Select all
<g
inkscape:label="new"
inkscape:groupmode="layer"
id="myNewLayer1">
<!-- your objects start -->
<!-- your objects end -->
</g>
Last edited by ~suv on Thu Oct 28, 2010 12:24 pm, edited 1 time in total.
- AstroStudio
- Posts: 20
- Joined: Wed Sep 29, 2010 4:35 pm
Re: "Raise selection to top" ... doesn't.
I found my way to the "Layers" pane and it looks like everything is on "Layer 1" :-/
- AstroStudio
- Posts: 20
- Joined: Wed Sep 29, 2010 4:35 pm
Re: "Raise selection to top" ... doesn't.
Okay, thanks ~suv. Since I have myriads of objects, I will try option "b"
Re: "Raise selection to top" ... doesn't.
Inkscape manual » Editing Basics » LayersAstroStudio wrote:I did not explicitly create "layers" -- I do not even know how they work.
And keep an eye on the current layer when adding new objects in Inkscape -- if you select an object that is placed outside of the layer structure in <root>, <root> becomes the current level and the next new object will also be added in <root>, on top of the existing ones. If you want to make use of Inkscape's layer structure, make sure that new objects are placed on a layer: check the layer selector widget in the status line and change to the normal layer if it says <root>.
- AstroStudio
- Posts: 20
- Joined: Wed Sep 29, 2010 4:35 pm
Re: "Raise selection to top" ... doesn't.
Thanks again, friends. I'm getting a good education here. But I'm not home-free yet.
I have taken ~suv's advice and properly slotted my new svg objects in a "custom_layer" group. In Inkscape, in the layers pane, I can now see both "Layer1" and "custom_layer". I can select my object that's on "Layer1" and move it to "custom_layer" by using the "Layers > Move Selection to Layer Above" menu command. But if I try the "Raise selection to top" button ... still doesn't happen. What in the world am I doing wrong?
I have taken ~suv's advice and properly slotted my new svg objects in a "custom_layer" group. In Inkscape, in the layers pane, I can now see both "Layer1" and "custom_layer". I can select my object that's on "Layer1" and move it to "custom_layer" by using the "Layers > Move Selection to Layer Above" menu command. But if I try the "Raise selection to top" button ... still doesn't happen. What in the world am I doing wrong?
- AstroStudio
- Posts: 20
- Joined: Wed Sep 29, 2010 4:35 pm
"Raise selection to top" ... DOES!
Hey guess what? If I save the file and re-open it again -- my object comes out on top.
Case closed!
Case closed!