[Differential] [Request, 6 lines] D2679: Prevent crash when a KRunner plugin triggers loading QtWebEngine
dvratil (Daniel Vrátil)
noreply at phabricator.kde.org
Tue Sep 6 11:53:15 UTC 2016
dvratil created this revision.
dvratil set the repository for this revision to rPLASMAWORKSPACE Plasma Workspace.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
Workaround a crash when a KRunner plugin triggers libQt5WebEngine being loaded from the runner thread. QtWebEngine has a QtStartUpFunction that will abort when invoked from non-GUI thread. A workaround is to enable context sharing in KRunner's main() so that QtWebEngine won't try to do that itself when loaded.
Since KRunner is just a single window, this flag will have no side-effects.
BUG: 364342
REPOSITORY
rPLASMAWORKSPACE Plasma Workspace
REVISION DETAIL
https://phabricator.kde.org/D2679
AFFECTED FILES
krunner/main.cpp
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: dvratil
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160906/8e267b22/attachment.html>
More information about the Plasma-devel
mailing list