Eraser tool: Touch Delete: Stroke starts too thick causing weird artifact

Summary:

When using the "Delete objects touched by eraser" mode of the Eraser tool, the stroke drawn starts too thick and then abruptly switches to the correct width.

Steps to reproduce:

  • open Inkscape
  • select the Eraser tool
  • select the "Delete objects touched by eraser" mode
  • Drag on the canvas

What happened?

The stroke starts off as a thick one and abruptly changes to the correct width.

Screencast_from_2024-04-25_19-35-17

It only happens the first time whenever you use the Eraser tool (switching from a different tool to Eraser tool also causes this - now it counts as the first time)

What should have happened?

The stroke should be drawn of uniform width from the start.

Version info

Inkscape 1.3.2 (091e20ef0f, 2023-11-25)

    GLib version:     2.78.3
    GTK version:      3.24.41
    glibmm version:   2.66.6
    gtkmm version:    3.24.8
    libxml2 version:  2.10.4
    libxslt version:  1.1.39
    Cairo version:    1.18.0
    Pango version:    1.51.0
    HarfBuzz version: 8.2.1

    OS version:       Fedora Linux 39 (Thirty Nine)