1.3dev: XML editor's attributes pane fails to update occasionally

Summary:

When moving the XML editor around and resizing its window, sometimes the right pane with the attributes fails to update. It can either be empty, or show the attributes of the previously (not the currently) selected item.

See video: Peek_2023-03-27_01-57

Steps to reproduce:

  • open Inkscape
  • play with XML editor

What happened?

Doesn't update accordingly.

What should have happened?

Should update.

Version info

Inkscape 1.3-dev (009e769f63, 2023-03-24)

    GLib version:     2.72.4
    GTK version:      3.24.33
    glibmm version:   2.66.2
    gtkmm version:    3.24.5
    libxml2 version:  2.9.13
    libxslt version:  1.1.34
    Cairo version:    1.16.0
    Pango version:    1.50.6
    HarfBuzz version: 2.7.4

    OS version:       Linux Mint 21.1