Layer gets 'selected' on single click (not just 'active')

Summary:

Clicking on a Layer should only make it active (#7792 (closed)) - with the second click causing it to be actually 'selected' - regression from 1.3.2. Looks like it was introduced in inkscape@9360f8a3, As far as I can tell, this doesn't seem to be an intentional change.

Steps to reproduce:

  • open Inkscape
  • Create multiple layers with multiple objects
  • Try to change current layer by clicking on a different one

What happened?

Layer gets selected

What should have happened?

Layer should have become active.

Version info

Inkscape 1.4 (e7c3feb100, 2024-10-09)

                      Compile  (Run)
    GLib version:     2.82.1
    GTK version:      3.24.43 (3.24.43)
    glibmm version:   2.66.7
    gtkmm version:    3.24.9
    libxml2 version:  2.12.8
    libxslt version:  1.1.42
    Cairo version:    1.18.0 (1.18.2)
    Pango version:    1.54.0 (1.54.0)
    HarfBuzz version: 9.0.0 (9.0.0)

    OS version:       Fedora Linux 41 (Workstation Edition)