Change a object between layer

Post questions on how to use or achieve an effect in Inkscape.
trangof
Posts: 1
Joined: Fri May 18, 2012 5:19 am

Change a object between layer

Postby trangof » Fri May 18, 2012 5:26 am

Hi and sorry for my English. I want to move a object from layer 1 to sub layer of layer2, but I don't know how. I'm in OSX thxxxxxx

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Change a object between layer

Postby brynn » Fri May 18, 2012 7:28 am

Welcome to the forum :D

Assuming that layer 1 is below layer 2, that would be Shift + PgUp. That's how it is in Windows, but I don't think it's any different in Macs. Or Layer menu > Move selection to layer above. Click once for each layer that you need to move across. That's why the key shortcut is more convenient.

User avatar
ianp5a
Posts: 106
Joined: Thu Sep 02, 2010 1:30 am

Re: Change a object between layer

Postby ianp5a » Sat May 19, 2012 12:58 am

I'm surprised there is no way to move object directly to a chosen layer. Essential if you have complex drawing with large numbers of layers. The Layer list is also very short. I can only see 3 Layers in the list before I have to scroll.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Change a object between layer

Postby brynn » Sat May 19, 2012 2:22 am

H ianp5a,
Both issues have been officially requested. All we can do is give developers time and have patience :D (unless you happen to have programming skills, then maybe you could offer to help :D)

Uummm....there might be a way to use the XML Editor to do that more directly. But calling up the XML Editor already defeats the purpose of a direct route....

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Change a object between layer

Postby druban » Sat May 19, 2012 5:03 pm

ianp5a wrote:The Layer list is also very short. I can only see 3 Layers in the list before I have to scroll.


Does the layers dialog not get larger when you drag on the border? Are your dialogs floating or docked? In docked mode there is a separator bar that can be dragged and should stay the size you make it.
Last edited by druban on Sat May 19, 2012 7:27 pm, edited 1 time in total.
Your mind is what you think it is.

User avatar
Xav
Posts: 1209
Joined: Fri May 08, 2009 1:18 am
Location: UK
Contact:

Re: Change a object between layer

Postby Xav » Sat May 19, 2012 6:06 pm

ianp5a wrote:I'm surprised there is no way to move object directly to a chosen layer. Essential if you have complex drawing with large numbers of layers. The Layer list is also very short. I can only see 3 Layers in the list before I have to scroll.


If you're just moving something up or down a couple of layers then the keyboard shortcuts Brynn mentioned are pretty fast. You can press them repeatedly without having to wait for Inkscape to redraw between each, so if you want to move your object(s) up three layers just hold shift and press Page Up three times.

When I have to move something through many layers I usually just cut it to the clipboard, switch to the destination layer, then use Edit > Paste In Place.
Co-creator of The Greys and Monsters, Inked - Inkscape drawn webcomics
Web SiteFacebookTwitter

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Change a object between layer

Postby brynn » Sun May 20, 2012 3:24 am

Regarding the docked Layers dialog, it's tiny size was the first thing I noticed about it. I know there's a feature request to make it bigger. I've also noticed another problem, which I suppose is a bug. I don't think I actually filed a report about it, but I remember discussing it with ~suv, who may have made a report (I'm not sure). (Actually if they could just make it bigger to begin with, the other issue will become irrelevant.) But I have developed a couple of workflow tips to help, until they can make it a little bigger.

When you have any docked dialog open by itself in the docking area, it's vertical size cannot be changed. You can make them wider, but not longer. Most dialogs contain enough content to make them larger. But the Layers dialog, being a list, that is not populated until you add more layers, starts out tiny. However, even in docs with several layers, usually the dialog opens only large enough to see the first 2 or 3 layers.

When you open another docked dialog, the 2nd one is opened above the first one, in the docking area. And having the 2nd one open allows you to change its vertical size, by dragging the line that separates it from the 1st one. (Position mouse over the line until you see a 2 sided arrow, then click + drag.) The vertical size of the first opened docked dialog (which unless you manually change their order in the docking area, stays on the bottom) can't be changed.

So the first tip is to open another docked dialog first (I usually open Fill and Stroke, because I almost always use it).

The problem that I noticed with the Layers dialog, is that after you drag it longer, it doesn't always stay longer. If you click in any open area in any other open, docked dialog (or even in Layers itself), the Layers dialog jumps back up to its original tiny size. If you click in a text field, or use a slider, e.g. in F/S dialog, the Layers dialog stays long. However, if you use, e.g. in F/S dialog the up or down arrows, e.g. Blur or A (alpha) or any of them, to change the values, and you click more than once, Layers jumps tiny again. If you click slowly enough, it prevents Layers from shrinking. In my experience the clicking speed is about the same as that which will change the Selection tool to the Node tool. (If you click slowly, you get the rotation handles, but if you click too fast, you get the Node tool.)

So the 2nd tip, if you have dragged the Layers dialog longer, you have to be very careful to keep it longer. Avoid clicking in any open area of any docked dialog. And if you have to click more than once in any field, click slowly.

(Now that I think of it, I'm going to look up the feature request to make Layers bigger, and add my support. I hate to overload the developers with requests, but this is one that I use a lot, and it annoys me a lot :D

Edit
I could not find a request for longer Layers dialog. I'm sure I've seen one, but I couldn't find it. So I made a new report, and included the info about the shrinking dialog. https://bugs.launchpad.net/inkscape/+bug/1001739
Last edited by brynn on Sun May 20, 2012 4:26 am, edited 1 time in total.
Reason: add bug link


Return to “Help with using Inkscape”