Objects dialog not updated when ID changed in Object Properties dialog

Summary:

The object tree in the Objects dialog does not update when a change is made in the Object Properties dialog.

Steps to reproduce:

  • open Inkscape
  • open the Objects and Object Properties dialogs
  • add an object, e.g. a rectangle
  • change the ID of the object in the Object Properties dialog to myRectangle
  • click Set

What happened?

Object ID is changed to myRectangle, Label in Object Properties dialog shows #myRectangle, object in Objects dialog still shows the original, auto-generated ID as Label

What should have happened?

Label displayed in Objects dialog should have updated to reflect changed value of ID.

Sample attachments:

Version info


Inkscape 1.1.2 (0a00cf5339, 2022-02-04, custom)

    GLib version:     2.70.3
    GTK version:      3.24.31
    glibmm version:   2.66.2
    gtkmm version:    3.24.5
    libxml2 version:  2.9.12
    libxslt version:  1.1.34
    Cairo version:    1.17.4
    Pango version:    1.50.3
    HarfBuzz version: 3.2.0
    Poppler version:  22.01.0

    OS version:       Windows 10 21H1