Alignment and distribution snap indicator is stuck when holding Shift.

Summary:

When dragging an object the Shift key can be held to temporarily disable snapping. This does work with Alignment and Distribution snaps but the indicators are not cleared and get stuck when Shift is held.

Steps to reproduce:

  • open Inkscape
  • draw two objects
  • enable alignment snap
  • press Shift when aligning the two objects

What happened?

The indicators are stuck in place.

snapshift

What should have happened?

The indicators should be cleared when Shift is pressed.

Version info

Inkscape 1.2-dev (42c0364, 2021-07-08)

    GLib version:     2.68.3
    GTK version:      3.24.29
    glibmm version:   2.66.1
    gtkmm version:    3.24.5
    libxml2 version:  2.9.12
    libxslt version:  1.1.34
    Cairo version:    1.17.4
    Pango version:    1.48.6
    HarfBuzz version: 2.8.1

    OS version:       Windows 10 2009