1.4.beta: Highlighting in right-click (context) menu doesn't work properly

Summary:

When hovering over items in the context menu, they are sometimes not highlighted. This issue is similar to inbox#10267 (moved), but more visible.

Steps to reproduce:

  • open Inkscape 1.4 beta
  • right-click on canvas
  • hover over various menu items

What happened?

Peek_2024-08-02_00-17

What should have happened?

Menu items should be highlighted properly.

Version info

Inkscape 1.4-beta2 (9aaf4f3498, 2024-07-30)

                      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