On 2013-10-31 17:29 +0200, Krzysztof Kosiński wrote:
> 2013/10/31 su_v <suv-sf@...58...>:
>> On 2013-10-31 04:09 +0200, Bryan Hoyt | Brush Technology wrote:
>>> While editing an Inkscape-created document, if I delete the ID attribute
>>> of a group (or any other element, on further investigation) using the
>>> XML editor, and then select that element in the visual editor, Inkscape
>>> crashes.
>>>
>>> The ID in question is not referenced elsewhere in the document.
>> Steps to reproduce:I'd be glad to provide a backtrace, but I fail to reproduce this crash -
>> 1) launch inkscape (default prefs, default new doc)
>> 2) draw a rect
>> 3) group it
>> 4) open XML Editor
>> 5) delete ID attribute of selected group
>> 6) on-canvas, double-click the selection to enter the group
>> 7) click on the rectangle to select it
>>
>> -> crash with current stable and trunk
>> (backtrace from latest trunk attached)
>>
>> Please file a report in the bug tracker, thanks.
>
> I fixed this particular crash in r12754, but there's another one when
> exiting the group (double click somewhere else after entering the
> group). I'll try to fix it soon. In the meantime if anyone can provide
> a backtrace that would be cool (it requires running GDB in a separate
> VT because the crash happens while the pointer is grabbed).
tried several times with r12753 as well as with latest r12755. Any
additional step(s) required apart from these?
0) launch inkscape with default (new) prefs
1) draw rect
2) switch back to select tool (S)
3) group the rectangle (Ctrl+G)
4) open XML Editor (Shift+Ctrl+X)
5) delete 'id' attribute of selected group
6) enter group with double-click on selected group
(or with <Esc> (return focus to canvas), Ctrl+Enter)
7) leave group with a double-click on empty canvas
(or with Ctrl+Backspace)
Regards, V