Ungrouping a clipped object crashes Inkscape (inkscape:groupmode="maskhelper")
Inkscape crashes if you try to ungroup a clipped object.
Steps to reproduce:
- open Inkscape
- open preferences, search for clip and enable "Put all clipped/masked objects into one group"
- draw any two overlapping shapes
- select both shapes
- go to
Object > Clip > Set
- go to
Object > Ungroup
Alternatively open crash_test.svg select all, and ungroup
What should have happened?
Either nothing should happen or clip should be removed (preferably with the clip path retained).
In older versions of Inkscape the clip is removed and the clip path is destroyed.
Inkscape 1.3-dev (a3c85c7f, 2022-06-09) GLib version: 2.72.2 GTK version: 3.24.34 glibmm version: 2.66.4 gtkmm version: 3.24.6 libxml2 version: 2.9.14 libxslt version: 1.1.35 Cairo version: 1.17.6 Pango version: 1.50.7 HarfBuzz version: 4.3.0 OS version: Windows 10 21H1