Layer Management: Can't move layer into another as sublayer

Bug #181490 reported by Martin Andersen on 2008-01-09
This bug affects 6 people
Affects Status Importance Assigned to Milestone
John Smith

Bug Description

There is no way to move an existing layer into another as a sublayer. If you expand a layer to show sublayers, then click to move the layer above down, it will go below the first layer, skipping its sublayers. Illustrator allows drag-and-drop onto a layer to make a layer into a sublayer of another.

Tom Davidson (tjd-mit) on 2008-01-09
Changed in inkscape:
importance: Undecided → Wishlist
status: New → Confirmed
jazzynico (jazzynico) on 2009-09-09
tags: added: ui ui-selection-group-layer
Rena Kunisaki (i-am-inuyasha) wrote :

Skipping the sublayers is correct behaviour; the issue is a lack of a way to turn a layer into a sublayer.

Workaround: arrange the layers as you'd like them to be arranged within the parent (i.e. ensure there are no others between them). Create the parent layer *below* the lowest child. Open the XML editor. Find the parent layer - due to the way SVG orders layers, it should be *above* the children in the XML hierarchy. Indent each of the children from top to bottom, making them sublayers of the parent.
Be sure to indent the child that is immediately below the parent in the XML tree, as indenting makes it a child of the node immediately above.

wadadliblue (wadadliblue) wrote :

That fix with the xml editor is a great idea. It does help with the organization of the project, but what if I wanted to select all objects within a layer, including sublayers so I could nudge them? Apparently this is not possible.

Thanks for your help though. Inkscape is a great product!

Well, there is a work around for that. Remove the entry in the XML editor called inkscape:groupmode. That will turn the layer in question into an ordinary group. When you are done, add that entry back.

su_v (suv-lp) on 2010-09-04
tags: added: layers
removed: ui-selection-group-layer
John Smith (john-smithi) wrote :

All layers can now be dragged and dropped to create sublayers (see bug #181473).

Changed in inkscape:
assignee: nobody → John Smith (john-smithi)
status: Confirmed → Fix Committed
Kris (kris-degussem) on 2012-09-06
Changed in inkscape:
milestone: none → 0.49
Bryce Harrington (bryce) on 2015-02-21
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers