When Layers and Objects is not docked, right-click does not activate the context menu

Summary:

When "Layers and Objects" is move to a Multiple float, the context menu accessible through right-click is no longer available

Steps to reproduce:

  • open Inkscape
  • open an SVG
  • open Layers and Objects
  • undock Layers and Objects
  • right-click on a group or object

What happened?

The parent group is selected

What should have happened?

The context menu should have appeared.

Version info

Inkscape 1.4 (e7c3feb, 2024-10-09)

                      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:       Ubuntu 20.04.6 LTS