Create sublayers below existing non-layer objects

Bug #181488 reported by Martin Andersen
2
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Medium
Unassigned

Bug Description

If you add a Sublayer to a layer with existing objects, then add objects to the sublayer, objects in the sublayer will always be higher in the stack than the "undefined" objects, though visually in the Layers Palette the sublayers appear below the parent layer.
The same goes when you open an Illustrator SVG file, which appears to have no layers at all, created layers will always be above the non-layered objects. That can make it laborious to fix up an Illustrator SVG.

Revision history for this message
Guillermo Espertino (Gez) (gespertino-gmail) wrote : Re: [Bug 181488] Layers Management: Sublayers

I think that would be better to add this request as part of the bug
#171902
instead of creating a new report (I know that this isn't a
duplicate of that bug).
If you have several requests about the layers panel, maybe you should
group them under a single feature request report ("layers panel
usability enhancement" or something like that)
Filing new bugs for similar issues generates noise and makes the bug
list unnecessarily longer and won't make developers fix them faster.

Revision history for this message
MenTaLguY (mental-deactivatedaccount) wrote : Re: Layers Management: Sublayers
Revision history for this message
MenTaLguY (mental-deactivatedaccount) wrote :

As far as layers management goes, I mean.

Revision history for this message
MenTaLguY (mental-deactivatedaccount) wrote :

As far as the most basic part of this request goes, though -- would it make sense to only create new sublayers above the highest existing sublayer (or at the bottom if there are no sublayers yet)? That seems like a relatively simple thing to do on its own.

Changed in inkscape:
status: New → Confirmed
description: updated
Changed in inkscape:
importance: Undecided → Medium
su_v (suv-lp)
tags: added: layers
Revision history for this message
Brynn (brynn4inks-deactivatedaccount) wrote :

Hi Friends,
I just wanted to add my support for fixing this bug. The first 2 comments here seem to be more about an object manager, than about layer management. But since there's a new object manager in the current dev version (0.91.1), this bug will now be occuring in 2 different dialogs (unless of course this can be fixed before it's released as stable).

Steps to reproduce:

 -- create a new file with 3 or 4 overlapping objects in layer 1
 -- take note of the z-order of the objects
 -- create a new sublayer for layer 1
 -- select the object at the bottom of the z-order in layer 1
 -- move it "down" to the new sublayer

Expected result -- It should still be at the bottom of the z-order.

Actual result -- It's now on top of all the objects. So even though it's in a lower layer, it's appears above objects in a higher layer.

I don't really understand Comment #4. It seems like new sublayers already are added above existing sublayers. That part seems fine to me.

Thank you very much :-)

Revision history for this message
mray (mrayyyy) wrote :

Looking at this with the Objects window makes it clear what is happening.

* A newly created sub-layer is put among the other objects and stays on top (makes sense as it is the newest object)
* pasting the bottom most object into said new sublayer arranges it in the respective z-order and puts it above all other objects.

This looks to me like the correct behaviour. Arguably this is a bit unintuitive if only the limited layer window is used. If anybody thinks there is still an issue with that please open up a new issue on http://inkscape.org/report.

Closing because everything happens as expected.

Closed by: https://gitlab.com/mray

Changed in inkscape:
status: Confirmed → Invalid
tbnorth (terry-n-brown)
tags: added: bug-migration
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.