[Libreoffice-bugs] [Bug 140077] Fatal Error after insert a new line by Enter (std::bad_array_new_length)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Feb 21 19:51:36 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=140077

--- Comment #12 from Dave Gilbert <freedesktop at treblig.org> ---
I've just done two small hacks;

https://gerrit.libreoffice.org/c/core/+/111291 OutputDevice::ImplLayout don't
trust nLen
https://gerrit.libreoffice.org/c/core/+/111292 CountCJKCharacters: Don't get
caught at end of string

which stops it actually crashing; however I don't think it's actually happy -
for example, when you hit return it now splits that line OK; but then moving
down from the upper line doesn't move, and I'm also seeing some redraw
artifacts there of the old line.
So I'm guessing it still needs to figure out where the odd lengths come from

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210221/1b2f197e/attachment.htm>


More information about the Libreoffice-bugs mailing list