Objects still editable in locked layers

Migrated from https://bugs.launchpad.net/inkscape/+bug/1772379

Note: apologies ahead of time if this is a duplicate issue

Steps to reproduce:

  • create some objects in Layer 1
  • create a new layer (Layer 2)
  • select an object with either the Select tool or the Node tool
  • move selected object from Layer 1 to Layer 2
  • Lock Layer 2

What happened?

The object is still selected and also editable (Select tool: move, Node tool: drag a node)

What should have happened?

Nothing. The layer is locked and should cancel object selection and prohibit any manipulation.

Inkscape Version and Operating System:

  • Inkscape Version: Inkscape 0.92.3
  • Operating System: Xubuntu
  • Operating System version: 14.04

Additional Information/Comments

Tested also on the following versions and OSes:

  • 1.0beta2 (074b463, 2020-02-02), macOS 10.12.6 (16G2136) (1)
  • 0.92.4 (5da689c313, 2019-01-14), MacPorts (2)
  • 0.92.4+68~ubuntu18.04.1, Ubuntu 18.04.4 LTS (3)
  • 1.1-dev (969dcdb233, 2020-03-27), snap package (4)
  1. No replication: when layer is locked, selection is cancelled and no object manipulation is allowed
  2. When layer is locked, selection remains (until a second click) but no manipulation is allowed
  3. Total replication: object selection and manipulation is allowed until a second click
  4. Same as 1
Migrator's Notes:
  • I guess this is good news as both beta versions work as expected.
  • Since Inkscape 1.0 is going to be released very soon now, unless anyone has any objections I will close in the very near future.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information