Inkscape.org
Beyond the Basics Weird layer interactions in 1.2.2
  1. #1
    Gwydeon Gwydeon @Gwydeon


    Inkscape turned a layer into a single group of objects which when un-grouped end up in a non-existent layer. 
    The layer that the objects were on, disappears when the objects are un-grouped.
    The objects have never been grouped by the user.
    Pasting the objects into another layer is hard to accomplish as the layer panel appears to lose track of the layer being pasted to.
    The pasted un-grouped objects, try to be a group of their own accord.  Acting as a group the first time they are clicked and then seeming to remember they are not a moment later, deselecting themselves and then becoming individual elements again.

    W T F?

    Also the individual elements listed in my layers is now gone. I don't have the arrows which allowed me to expand the list of objects in a given layer anymore.
    It's like the basic fundamental function of layers is being lost in the need to color code them... Maybe go back and try again. 
     

  2. #2
    Paddy_CAD Paddy_CAD @Paddy_CAD
    *

    Inkscape produces svg compliant files, but the svg spec makes no provision for layers. This is a familiar and useful feature in many graphics applications so the developers adopted a workaround. Inkscape layers are actually svg groups though they are treated differently. The Layers and Objects dialog lets you convert layers to groups and vice versa. [right_click] [Layer to Group] or [Group to Layer]. All this does is add or remove one attribute from the svg group element.

      <g
         inkscape:label="Layer 1"
         id="layer1"
         inkscape:groupmode="layer" />

    The dialog uses different icons to distinguish layers and groups.

    Inkscape turned a layer into a single group of objects

    This should not happen automatically.

    which when un-grouped end up in a non-existent layer.  

    Ungrouped objects are placed in the parent group/layer. If there's no parent then they're placed in the svg root.

    The layer that the objects were on, disappears when the objects are un-grouped.

    Group and layer information is discarded on ungrouping.

    The objects have never been grouped by the user.

    For new drawings Inkscape creates a single layer by default.

    Pasting the objects into another layer is hard to accomplish as the layer panel appears to lose track of the layer being pasted to.

    The active editing scope in the drawing canvas is shown in the status bar and may not match the layer or group highlighted in the dialog. 

    The pasted un-grouped objects, try to be a group of their own accord.  Acting as a group the first time they are clicked and then seeming to remember they are not a moment later, deselecting themselves and then becoming individual elements again.

    I can't explain this behaviour. I haven't seen it myself.

    I don't have the arrows which allowed me to expand the list of objects 

    Top left of the dialog is an icon for [Switch to layers only view] which shows/hides the elements inside layers and groups.

     

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Weird layer interactions in 1.2.2