1.4.x: Highlighting swatches in new swatches dialog doesn't work reliably (on hover)

Summary:

See title. Video:

Peek_2024-04-25_01-57

Steps to reproduce:

  • open Inkscape
  • open View > Swatches > Palette chooser dropdown
  • hover over different swatches

What happened?

Sometimes they are highlighted, and sometimes they aren't.

What should have happened?

Swatches should be highlighted when the mouse hovers over them.

Version info

Inkscape 1.4-beta (1483b83296, 2024-04-23)

                      Compile  (Run)
    GLib version:     2.72.4
    GTK version:      3.24.33 (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 (1.16.0)
    Pango version:    1.50.6 (1.50.6)
    HarfBuzz version: 2.7.4 (2.7.4)

    OS version:       Linux Mint 21.3