It does not crash, but now clicking after the last character or between the last two characters will place the cursor before the last two characters. I submitted an (untested) alternative patch on the upstream bug, maybe it helps?
Awesome! Most of those bugs are fixed now. I'm seeing same behaviour the anonymous user reported.
File from #1573152 still crashes inkscape, but only when using Open with... -> inkscape (in Cinnamon). Drag'n'drop or Open menu in inkscape loads it successfully.
With steps from #1612618 i still can reproduce the crash.
BZ#1573152 Inkscape crash in sp_document_namedview
BZ#1577125 inkscape killed by SIGABRT - when double-clicking text with cursor tool
BZ#1580211 Editing text on inkscape aborts in "Inkscape::Text::Layout::_cursorXOnLineToIterator"
BZ#1608371 Inkscape crashes on selecting boxed text
BZ#1612618 Inkscape crashes when hitting ENTER on text input
Hmm, yes, #1612618 still crashes, so I tried it in gdb. This is half-guessing (i.e. untested): in src/libnrtype/Layout-TNG-OutIter.cpp, there is the function
This update has been submitted for testing by limb.
limb edited this update.
This update has been pushed to testing.
It does not crash, but now clicking after the last character or between the last two characters will place the cursor before the last two characters. I submitted an (untested) alternative patch on the upstream bug, maybe it helps?
fixes my textbox crashes
fixes my textbox crashes
May I have a link to that patch, please?
https://launchpadlibrarian.net/405852336/inkscape-0.92.3-oob.patch
Awesome! Most of those bugs are fixed now. I'm seeing same behaviour the anonymous user reported.
File from #1573152 still crashes inkscape, but only when using Open with... -> inkscape (in Cinnamon). Drag'n'drop or Open menu in inkscape loads it successfully.
With steps from #1612618 i still can reproduce the crash.
Hmm, yes, #1612618 still crashes, so I tried it in gdb. This is half-guessing (i.e. untested): in src/libnrtype/Layout-TNG-OutIter.cpp, there is the function
_char_index
can actaully be_characters.size()
, so I think it could be fixed by changing the last lines to:(Sorry if this is not the right place to post tentative patches.)
I've had the best luck with https://launchpadlibrarian.net/405852336/inkscape-0.92.3-oob.patch by itself. I'll update to use that.
This update has been obsoleted by inkscape-0.92.3-10.fc29.