Overloading the Extension Live Preview Feature
Inkscape 1.1, Ubuntu 20.10
I am writing my own extension to apply effects over a range of objects.
I have found that once the number of objects gets to a high number, 100+ for example ( sometimes less )
Apply extension works correctly.
However 'Live Preview' causes an instant crash to the desktop.
Steps to Replicate
- Open Inkscape
- Draw 5 rectangles
- Select all
- Click on the Selection once to get to the skew/rotate handles
- Move the transform/rotation center a bit
- Select the Black and White extension
- Click the Preview button
- Click the Preview button again
What happened?
- Crash
- Backtrace from 1.2-dev: inkscape_backtrace-extension-live-preview_ac43753055.txt
- Terminal output
inkscape
Shortcut::read: invalid verb: DialogSpellcheck
**
ERROR:./src/xml/simple-document.cpp:46:virtual Inkscape::XML::Event* Inkscape::XML::SimpleDocument::commitUndoable(): assertion failed: (_in_transaction)
Bail out! ERROR:./src/xml/simple-document.cpp:46:virtual Inkscape::XML::Event* Inkscape::XML::SimpleDocument::commitUndoable(): assertion failed: (_in_transaction)
Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at https://inkscape.org/report
with a detailed description of the steps leading to the crash, so we can fix it.
**
ERROR:./src/xml/simple-document.cpp:46:virtual Inkscape::XML::Event* Inkscape::XML::SimpleDocument::commitUndoable(): assertion failed: (_in_transaction)
Bail out! ERROR:./src/xml/simple-document.cpp:46:virtual Inkscape::XML::Event* Inkscape::XML::SimpleDocument::commitUndoable(): assertion failed: (_in_transaction)
Aborted (core dumped)
What should have happened?
- no crash
Sample Attachments: Backtrace: inkscape_backtrace-extension-live-preview_ac43753055.txt, file originally occurred with: scraps.svg
Version info
- Inkscape 1.1, Ubuntu 20.10
- Inkscape 1.2-dev (ac43753055) Linux Mint 20
Edited by Nathan Lee