Inkscape.org
Beyond the Basics Release 1.2: Paste into a specific layer?
  1. #1
    Eric Woodcock Eric Woodcock @EricWoodcock
    *

    So, I've got a line in a specific layer, namely line "linie" in layer "Perspective". (see 4th attachment).

    This line should be in another layer instead, namely "Ceiling". So

    • I select the line with the mouse, (3rd attachment)
    • I cut out (CTRL-X) the selected line,
    • select layer "Ceiling"
    • verify that "Ceiling" is indeed the current layer and that the layer is visible and unlocked (2nd attachment),
    • paste-in-place (CTRL-ALT-V), and …

    where has that line jumped into? A layer called "[root]" that isn't in the layers list and certainly isn't "Ceiling" that was active beforehand? (1wt attachment)

    Semantics must have changed somewhere in between the 0.92 release and the 1.2 release. That's what used to work in 0.92.

    I'm relying rather heavily on this workflow of selecting a bunch of objects to relocate, cutting them out, making a destination layer current, and paste-in-place-ing them.

    So what's the new way to achieve this?

     

    Pic3
    Pic2
    Pic1
    Brunnenraum
  2. #2
    Polygon Polygon @Polygon🌶

    Why not select and use "Move to Layer x"?

  3. #3
    Eric Woodcock Eric Woodcock @EricWoodcock
    *

    You mean the following menu items?

    • Layer > Move Selection to Layer above (tooltip: "Move the selection to the layer above the current layer")
    • Layer > Move Selection to Layer below (tooltip: "Move the selection to the layer below the current layer")
    • Layer > Move Selection to Layer … (tooltip: "Move selection to layer");

    That'll do … Unbelievable; I've used Inkscape for ages and somehow have never even found these; I've always gone the way of cutting and paste-in-placing for relocating bunches of objects.

    So what's the rationale of offering to move objects "to the layer ABOVE" the current layer and offering to move them "to the layer BELOW" the current layer, but not offering to move them INTO the current layer? Why avoid the current layer, of all layers?

  4. #4
    Polygon Polygon @Polygon🌶

    I´d use Select (S) rightclick - move to layer...

    EricWoodcock

    So what's the rationale of offering to move objects "to the layer ABOVE" the current layer and offering to move them "to the layer BELOW" the current layer, but not offering to move them INTO the current layer? Why avoid the current layer, of all layers?

    Because it makes no sense to move to a layer where it is already? If you want a double of it simply duplicate.

  5. #5
    Eric Woodcock Eric Woodcock @EricWoodcock
    *

    Well, I'm doing my best to get used to this, but it continues and continues to be VERY DISCONCERTING that you select a specific layer and do CTRL-V, and surprisingly the thing that you paste does NOT end up in this layer, but at some unpredictable other location.

    • Draw a square, and it'll end up in the layer that you've selected.
    • Add a text, and it'll end up in the layer that you've selected.
    • Paste a thing, and it'll - sometimes - end up any old where (neither the layer it has originally been copied from, nor the layer that is currently selected), and the layer selection changes to this any old where.

    It's jarring. 

  6. #6
    Tyler Durden Tyler Durden @TylerDurden

    It's a bug: https://gitlab.com/inkscape/inkscape/-/issues/3527

  7. #7
    Paddy_CAD Paddy_CAD @Paddy_CAD

    This is a change in workflow certainly, but I'm not sure it should be considered a bug.

    Selecting a group in the [Layers and Objects] dialog highlights that group on the canvas. Your next edit will be alongside the group in the same parent layer and not inside the group. In inkscape_1.2 the same logic now applies also to layers. Selecting a layer in the dialog highlights the entire layer group on the canvas, indicating that you are currently working in the parent layer. 

    Before you paste, [right_click] on the canvas or [esc > esc] to return focus to the canvas, deselect the layer and make it the current layer.

  8. #8
    Tyler Durden Tyler Durden @TylerDurden

    If it is a "breaking change", it is breaking with all layered onscreen composition/editing tools I know (CAD/illustration/presentation/etc.)... after selecting a layer (making it active) all composition activity takes place within the layer.

  9. #9
    Tyler Durden Tyler Durden @TylerDurden

    I had a chance to test this in v.92.2. The behavior is as expected: selecting a layer in the layers dialog and using the paste command, pastes within the layer, not the layer's parent.

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Release 1.2: Paste into a specific layer?