Node tool handles are not automatically updated after converting LPE Object to path

Summary:

I was drawing some lines with the freehand tool with smoothing on. I converted the lines to paths to apply the smoothing and removing the effect. When converting to path having the node edit mode is toggled the

Steps to reproduce:

  • Draw a line with the freehand tool with significant smoothing and LPE based simplify enabled so that the red and black line is clearly different in edit node mode (N).
  • In edit node mode - convert object to path. Nothing seem to happen visually (but in the xml editor the effect disappear). Select mode (S) and back to node mode (N) the red and black line is now overlapping as expected when converting to path.

The steps below are for the issue described in #1504 (closed)

  • Then apply extension Visualise Path > Number Nodes (either just Live and Close or apply)

  • Then Undo. The effect is back as if the object to path never occurred. Same happens if extension Modify Path > Add nodes and then undo. Then the path effect is if undo jumps all the way back to undo object to path not just undo add nodes.

  • The same is maybe even more obvious using a shape with the freehand tool.

What happened?

  • Node tool nodes are the same before and after Object to path

What should have happened?

  • Node tool's paths should be updated right after Object to Path (without needing to switch tools)
  • (tracked in #1504 (closed)) After undo of the Number Nodes extension, Object to path shouldn't also be undone.

Version Info:

- Inkscape Version: 1.0.2 and 1.1
- Operating System: Windows
- Operating System version: Windows 10 64bit
- Inkscape installed from 7z
Edited by Nathan Lee