LPEs keep transforms, creating inconsistent stroke scaling (Slice LPE)

Summary:

Stroke scaling is inconsistent when resizing a path that has been sliced. Under certain circumstances the stroke of each section scales differently.

Steps to reproduce:

  • open Inkscape
  • Stroke scaling -- OFF
  • Create rectangle, convert to path
  • Slice the path (Path Effects -> Slice)
  • For visibility, separate the paths. There are two parts: Part A has the "path effects" attached. Part B does not.

What happened?

  • Case 1: Select first A and then B. Resize together using vertical handle. Both strokes scale unequally in horizontal and vertical directions. Stroke of A scales less than stroke of B.

  • Case 2: Repeat Case 1 but first select B then A. Both strokes scale unequally in horizontal and vertical directions (but the two parts are consistent with each other).

  • NOTE: When path scaling is turned on you get the behavior of Case 2. ...

What should have happened?

  • Case 1: No strokes should have scaled at all. Strange that strokes of A and B are different.
  • Case 2: No strokes should have scaled at all. ...

Sample attachments:

Debug info

Slice_Bug_Illustration.svg

Inkscape 1.1 (c68e22c387, 2021-05-23)

    GLib version:     2.68.2
    GTK version:      3.24.29
    glibmm version:   2.66.0
    gtkmm version:    3.24.3
    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
    Poppler version:  20.12.1

    OS version:       Windows 10 2009

Slice_Bug_Illustration.svg

Edited by Nathan Lee