Inkscape hangs when editing text with the "Spacing Between Words" option requiring force crash of Inkscape to use again
Summary:
Just happened to have this issue while working on a file. When I was trying to use the "Spacing Between Words" option to get the word spacing the way I wanted it, Inkscape all of a sudden completely hanged up, forcing me to completely crash the program (no emergency save) making me lose some of my work. So, I took some time to figure out how to get this to duplicate reliably and have a test case below for you. I even ran the backtrace, but it couldn't get a proper crash, but it will still be posted below.
Steps to reproduce:
- Must have the following font installed on your system so the file will load correctly: OPTICharterOak (Can be downloaded from here: https://www.ffonts.net/OPTICharterOak.font ).
- Open the attached file "bug_1c.svg" (it's inside a 7z file due to also needing a jpg file with it to reproduce this which is included in the 7z).
- If you're running 1920x1080, you should now see 2 words on your screen, "Prayers" & "Are".
- Select "Prayers" and open the text editing mode.
- Type " Are" (yes, there's a space before the 'Are') after "Prayers".
- Now hit "Ctrl+A" to "Select All" the text there.
- Now go up to the "Spacing between words (px)" edit box, and click+hold on the "+" button for about 5 seconds.
- Watch the number go up to 2.50 (sometimes only 0.02) and stop going up.
What happened?
After the "spacing between words" amount hits 2.50, Inkscape completely hangs up and becomes completely unresponsive. Thus, requiring me to force crash Inkscape, thus not getting an emergency save of the edits to my file since the last time I saved it. Taskmanger is also saying Inkscape is taking up a steady 13% of my CPU cycles up until I crash it.
What should have happened?
Inkscape shouldn't have hanged and allowed me to let go of the "+" at any point above 2.50 and adjust the file appropriately so that I had the option to save the file once again if I wanted to.
Sample attachments:
Debug info
Inkscape 1.1 (c68e22c387, 2021-05-23) (64-bit version)
Windows 7 SP1 x64