Handles moved on Undo after node added to path with power stroke

Steps to reproduce:

Found while trying to reproduce bug issue 1445 :

  • With pen/bezier tool (Maj+F6), draw a simple curved path.
  • Apply power stoke LPE via LPE dialog
  • optional : with node tool (F2) set desired width.
  • With node tool (F2) add a node on path (double click on red line between two nodes)
  • Ctrl+Z to undo : previous state as expected but pink nodes (stoke width control points) not displayed in the good position.

What happened?

After undo, path and stoke thickness are as expected, but LPE stoke width control points are displayed in unexpected places, not corresponding to their properties (check it with Shif+click on it).

What should have happened?

LPE stoke width control points should be displayed were expected to be.

Workaround

After undo, hit F1 then F2 to place handles correctly.

Inkscape Version and Operating System:

Inkscape 0.92.4 and 1.0beta2 (418fe52, 2019-12-12) on windows 8.1

Thank you for listening

Edited by Nathan Lee