crash when deleting object's attribute in Selectors and CSS dialog
Summary:
Inkscape crashes w/ emergency save due to attempting to delete the 'fill-rule' element in the "Selectors and CSS" window. This is a completely safe element to delete if you want to, as you can just reverse the item to duplicate that element if you want to.
Steps to reproduce:
- Open attached file.
- Select the only item in the file.
- Open "Selectors and CSS" (Shift+Ctrl+Q).
- Click 'X' in front of the 'fill-rule' element. (NOTE: you can do this on any of the elements, if you want to, as it has the same end result.)
What happened?
Inkscape crashes and produces an emergency save due to the Segmentation fault it causes.
What should have happened?
Inkscape should have deleted the 'fill-rule' element and continued on with no issues.
Sample attachments: crash.svg inkscape_backtrace.txt
Version info
Inkscape 1.1 (c68e22c387, 2021-05-23) (64-bit version)
Windows 7 SP1 x64
Edited by Nathan Lee