Clicking two different tool buttons quickly opens the configuration dialog

Summary:

When a tool button is double-clicked, Inkscape brings up the configuration settings dialog for that tool. This is good.

However, when two different tool buttons are clicked within the double-click threshold, it is incorrectly counted as a double-click and the configuration settings dialog opens.

clicking_two_buttons_quickly

Steps to reproduce:

  • Open Inkscape.
  • Click two tool buttons within a brief period of time.

What happened?

  • A configuration settings dialog opens.

What should have happened?

  • The second tool should be active, with no dialog opened.

Debug info

I see this behavior with the Inkscape 1.2 development builds, but not with Inkscape 1.1 production.

Inkscape 1.2-dev (6dc17b5, 2021-06-05)

    GLib version:     2.68.2
    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.5
    HarfBuzz version: 2.8.1

    OS version:       Windows 10 1909