group auto expands if i select name of group in the layer and objects dialog

Summary:

select a group in the layer and objects dialog, it automatically collapses

Steps to reproduce:

  • open Inkscape
  • create some object and group
  • i create 5 groups
  • open Layer and Objects dialog
  • select name of group

What happened?

group auto collapses if i click name of group

What should have happened?

nothing collapses, the group should collapse if I press the triangle icon, not name of group

Sample attachments:

Version info

Inkscape 1.2-beta (1b65182, 2022-04-05)

Inkscape 1.2-beta (1b65182, 2022-04-05)

GLib version:     2.64.6
GTK version:      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.17.6
Pango version:    1.44.7
HarfBuzz version: 2.6.4

OS version:       Ubuntu 20.04.4 LTS