INX: hidden parameter inside a notebook page triggers crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
jazzynico |
Bug Description
INX files support hidden parameters (not shown in the GUI) using the attribute 'gui-hidden' for <param>.
Example:
<param gui-hidden="true" name="hidden_opt" type="boolean"
This works fine as long as the parameter is defined in the root level of <inkscape-
<param name="tab" type="notebook">
<!-- tab1 -->
<page name="first_tab" _gui-text="First">
<!-- hidden param doesn't work here -->
<param gui-hidden="true" name="hidden_
<!-- normal param is ok -->
<param name="instructions" type="description" xml:space=
</page>
None of Inkscape's own extensions tries to use a hidden parameter this way. I only came across this while working on a custom extension where I would have liked to group hidden parameters with visible parameters per tab (code-wise this is not strictly necessary, but it may help keep an INX file better "organized").
Crash (current trunk r11952 on OS X 10.7.4):
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_
0x00000001037003eb in Gtk::Box:
Changed in inkscape: | |
assignee: | nobody → JazzyNico (jazzynico) |
milestone: | none → 0.49 |
status: | Triaged → In Progress |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
attaching archive with two extensions demonstrating the reported issue.