[okular] [Bug 403643] Okular stops rendering PDF and uses up 100% cpu (possible regression)
Tobias Deiminger
bugzilla_noreply at kde.org
Thu Jan 30 08:59:29 GMT 2020
https://bugs.kde.org/show_bug.cgi?id=403643
--- Comment #24 from Tobias Deiminger <haxtibal at posteo.de> ---
Git commit 593803b0a1d98eba64aac38316aa521130b4ae78 by Tobias Deiminger.
Committed on 30/01/2020 at 08:15.
Pushed by aacid into branch 'release/19.12'.
Fix render stop and high load due to timing issue
Text generation is connected to pixmap generation thread started signal.
However the signal may have been emitted faster than the connect could took
place,
and because started is fired only once, the connected lambda never got
executed.
generatePixmap tried to sync up with that never happening text generation
anyway
by means of scheduling itself. This lead to a infinite loop via a no more
sleeping QEventLoop.
Fixed by moving the connect in front of starting the thread.
Related: bug 396137, bug 396087
M +2 -2 core/generator.cpp
https://invent.kde.org/kde/okular/commit/593803b0a1d98eba64aac38316aa521130b4ae78
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list