Crash with color widget used in procedural template (trunk, 0.91.x)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
jazzynico |
Bug Description
A procedural template which uses a color widget (<param type="color" … />) causes inkscape to crash as soon as the template is selected in the 'File > New > Templates...' dialog.
Steps to reproduce:
1) install attached custom extension
2) launch inkscape trunk or 0.91.x
3) open templates dialog (Ctrl+Alt+N)
4) select 'Color...' in the list of available templates
--> crash
Test the same extension as normal effect:
5) relaunch inkscape
6) run 'Extensions > Debug > Page Color...'
7) change the page color and opacity in either tab
--> works as expected (no crash).
Test the same procedural template without the color widget:
8) quit inkscape
9) comment out line 14 in 'empty_color.inx'
10) launch inkscape, repeat step 4
--> no crash, but no color widget for easy color selection either.
Reproduced with Inkscape 0.91+devel r13795 and 0.91pre3 r13685 on OS X 10.7.5
Test case (extension) attached:
- empty_color.py
- empty_color.inx (template, using the same script)
- page_color.inx (effect, using the same script)
Extension also available in my procedural templates playground:
<lp:~suv-lp/+junk/inkscape-procedural-templates>
Related branches
description: | updated |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Backtrace (Inkscape 0.91+devel r13795, debug build 64bit, GTK+/X11 2.24.25)