Crash when modifying pasted text in a text box
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Triaged
|
High
|
Unassigned |
Bug Description
Hi all,
First of, this is my first Inkscape bug report. Thank you guys so much for developing such an amazing piece of kit. I swear by it and do all my vector work with it (and I also have Illustrator... :o)
This bug crashes Inkscape whenever I try to modify text previously pasted into a text box.
Steps to reproduce it:
* Copy some text from anywhere
* Open Inkscape
* Create a text box -- F8 or 't' + click&drag -- I suggest you make it big enough to see the end of the text you are about to paste in
* Paste in the text you copied -- Ctrl + v
* Try to write something else
If this doesn't crash it, try getting out of the text tool -- i.e. press Esc --, then select the the text tool again -- F8 or 't' -- and click back on the text to re-activate the text box. Now try adding anything to it.
This bug also affects text boxes with a mix of written and pasted text.
This bug does NOT affect text boxes with no pasted text.
OS: Linux Mint 13 64bit/Gnome shell
Inkscape version: 0.48+devel+1250
tags: | added: paste text text-box |
tags: |
added: text-tool removed: paste text-box |
description: | updated |
description: | updated |
I have noticed this crashing in the text tool too. When pasting in a letter from CharMap, the cursor moves to between the previous letters, moving to the end of the text and pressing backspace causes this error:
#0 erase_from_spstring (string_ item=0xc87e238, iter_from=..., iter_to=...) at ../../src/ text-editing. cpp:711 text-editing. cpp:788 context_ root_handler (event_ context= 0xada6680, event=0xbfffdecc) at ../../src/ text-context. cpp:972 context_ virtual_ root_handler (event_ context= 0xada6680, event=0xc874340) at ../../src/ event-context. cpp:1032 root_handler (event=0xc874340, desktop=0x8fa4d80) at ../../src/ desktop- events. cpp:74 BOOLEAN_ _POINTER (closure=0x9a26d30, return_ value=0xbfffe2f c, n_param_values=2, param_values= 0xbfffe240,
#1 0x0819eae7 in sp_te_delete (item=0xc7b30c8, start=..., end=..., iter_pair=...) at ../../src/
#2 0x08198a68 in sp_text_
#3 0x080af8ba in sp_event_
#4 0x0858c20a in sp_desktop_
#5 0x0829a203 in sp_marshal_
I've had crashes just from pasting, usually at the end. Typing in letters, etc.