Comment 0 for bug 1402182

Revision history for this message
su_v (suv-lp) wrote :

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)