Hard freeze when applying license information to documents with CSS style rules (1.1.x)
Summary:
Documents with CSS style rules crash Inkscape on Windows 10 on/after a document license is selected/applied.
Conditionally, when a file contains a few CSS style rules it can be worked with until the point of applying the licensing information. Once licensing information is applied, odds are good that Inkscape will crash on license selection or on the next set of actions shortly thereafter. Typically, trying to draw another box does it.
However, if the file DOES NOT contain any CSS style information or the styles are stripped and file saved again, you can license the file and continue working without incident.
Steps to reproduce:
- open Inkscape
- create a new file
- create a few CSS style rules or hand edit some simple fills into your document.
- make some shapes, test your rules.
- open document properties, add some Metadata, set a simple grid, size your document normally.
- Save your work, here be dragons.
- Go back into document properties, select a license.
- If you still can, try to make a new shape and/or apply some of those style rules.
What happened?
On Windows 10, Inkscape doesn't crash with an error and becomes completely unresponsive and requires a few closes before it will even recognize that it's crashed.
What should have happened?
Not crashed with continued document editing.
Sample attachments:
Attaching a test.svg which has already been prepared for taking licensing info. Gist copy:
Version info
Inkscape 1.1 (c68e22c3, 2021-05-23) Windows 10