https://bugs.kde.org/show_bug.cgi?id=479070

--- Comment #19 from Keyu Tao <taoky1...@gmail.com> ---
(In reply to Keyu Tao from comment #18)
> (In reply to Albert Astals Cid from comment #16)
> > Not an okular bug, but a poppler bug.
> > 
> > https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1482
> 
> https://gitlab.freedesktop.org/poppler/poppler/-/commit/
> 8a9f1d3a84a9f3d66cd353b7fe1aef0b65a37c08 does not seem to have this fixed.
> I compiled the latest master branch poppler locally, LD_PRELOADed when
> running okular, 
> and I could still easily reproduce this bug.
> 
> Going to try debugging after lunch.

Very weird: even when Okular is responding, I find that one thread is already
in dead loop inside `drawMultiLineText()` (when it does not have enough space
and you type in non-ASCII chars): 

In this case `textLayouter.consumedText` is 2 and `text.hasUnicodeMarker()` is
true, thus it keeps `i += 0` and it could never leave the `while (i <
text.getLength())`.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to