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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |haxti...@posteo.de

--- Comment #17 from Tobias Deiminger <haxti...@posteo.de> ---
(In reply to Postix from comment #10)
> There are also a few lines with
> > generatePixmap

Qt has a shortcut for QTimer::singleShot(msec = 0, ...), where they call
QMetaObject::invokeMethodImpl to trigger your lambda immediately via a
QueuedConnection plus one iteration through the event loop.

So a callstack like yours
#n+1 QMetaObject::invokeMethodImpl
#n   Okular::Generator::generatePixmap
...
#n-m QCoreApplicationPrivate::sendPostedEvents
could indeed stem from a "text generation already finished but mTextPageReady
still false" endless loop, assuming the compiler has inlined some calls for
optimization. Note the "could", I see no definite proof yet.

I generally agree with Albert that this issue is particularly hard to debug
without being able to reproduce it locally.

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

Reply via email to