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

Tobias Deiminger <haxti...@posteo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/kde/
                   |                            |okular/commit/593803b0a1d98
                   |                            |eba64aac38316aa521130b4ae78
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #15 from Tobias Deiminger <haxti...@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 403643

M  +2    -2    core/generator.cpp

https://invent.kde.org/kde/okular/commit/593803b0a1d98eba64aac38316aa521130b4ae78

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to