Skip to content

1.4 beta - moving selection to layer above/below within sub layers may mess up the order of layers or won't move at all

Summary:

I've made a screen recording that demonstrate the issue - see video on youtube: https://youtu.be/sKX3pf0QN10

When there are a layer and multiple sub layers, one of - at least - may happens:

  • Operate as expected
  • Objects moves, but order of sub layers get messed up.
  • Objects moves from parent layer to sub layer, it might skip the sub layer at top.
  • Object may not move at all, seemingly refuse to react when attempting to move to layer above/below.

Steps to reproduce:

  • open Inkscape, using the attached file "sample_Linux-Fedora-cinnamon.svg"
  • Replicate as shown in youtube video, that is:
  • Select an objec in a lower sub layer
  • Move that object up, repeat until the object get to the parent layer while paying attention to the Layer dialog box.

What happened?

  1. Moving object upwards through multiple sub layers cause the sub layers to change order
  2. If that object are moved into parent layer, subsequent attempt to move the same object to a sub layer can cause the object to /skip/ a layer, in particular the uppermost sub layer.
  3. For some objects, attempt to move to a layer above/below simply makes no effect, nothing happens. I also suspect the layer dialog box may fail to highlight the layer where an object being selected is located. ...

What should have happened?

  1. Layers should keep it's order when objects are moved up or down through layers.
  2. Objects moved between layers should not be able to skip a layer, that does not make sense.
  3. Objecs should should react accordingly when user select+click move /selection to layer below/above/ + Layer dialog is expected to expand and highlight the layer containing an object that is being selected. ...

Sample attachments: sample_Linux-Fedora-cinnamon.svg

Version info

Inkscape 1.4-beta (62f545b, 2024-04-22)

                      Compile  (Run)
    GLib version:     2.64.6
    GTK version:      3.24.20 (3.24.20)
    glibmm version:   2.64.2
    gtkmm version:    3.24.2
    libxml2 version:  2.9.10
    libxslt version:  1.1.34
    Cairo version:    1.16.0 (1.16.0)
    Pango version:    1.44.7 (1.44.7)
    HarfBuzz version: 2.6.4 (2.6.4)

    OS version:       Fedora Linux 39 (Cinnamon)

Edited by Willy (Wen-Wei) Kao
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information