Clean up path - Crash
Crash with
Inkscape 1.4.1 (3cbedeb1d2, 2025-04-27)
Compile (Run)
GLib version: 2.80.0
GTK version: 3.24.41 (3.24.41)
glibmm version: 2.66.7
gtkmm version: 3.24.9
libxml2 version: 2.9.14
libxslt version: 1.1.39
Cairo version: 1.18.0 (1.18.0)
Pango version: 1.52.1 (1.52.1)
HarfBuzz version: 8.3.0 (8.3.0)
OS version: Linux Mint 22.1
Traceback (most recent call last):
File "/opt/inkscape_1.4.x/share/inkscape/extensions/clean_up_path.py", line 484, in <module>
CleanUpPath().run()
File "/opt/inkscape_1.4.x/share/inkscape/extensions/inkex/base.py", line 255, in run
self.save_raw(self.effect())
^^^^^^^^^^^^^
File "/opt/inkscape_1.4.x/share/inkscape/extensions/clean_up_path.py", line 135, in effect
self.remove_minlength_nodes() # to curves and fill subpaths_dict
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/inkscape_1.4.x/share/inkscape/extensions/clean_up_path.py", line 228, in remove_minlength_nodes
last_args = new_sub[-2].args
~~~~~~~^^^^
IndexError: list index out of range
Additionally...
- Why are there 'max' values and sliders, and no unit chooser? This seems severely limited.
- Close subpaths doesn't only close, but also deletes nodes at the ends - a 3 node path becomes a 2 node path. But it is closed...
- Using linebreaks to add a space in front/after a description text is a questionable technique, as those show up in translatable strings. We have spacers for that.
- Keyboard shortcuts should not be part of the text as they can be changed by the user.
Edited by Maren Hachmann
