Summary: | kglobalaccel crashes under Wayland. | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kglobalaccel | Reporter: | bluescreenavenger |
Component: | general | Assignee: | Martin Flöser <mgraesslin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kdelibs-bugs |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kwin/316914a38b315ef479aa413b41514ddcd9738278 | Version Fixed In: | |
Sentry Crash Report: |
Description
bluescreenavenger
2015-07-04 20:04:26 UTC
Seems that somehow kglobalaccel5 getting called by kded5 is getting the kwin plugin loaded... This is not surprising as the plugin aborts if it's not inside the KWin process: qFatal("This plugin is intended to be used with KWin and this is not KWin, exiting now"); How did you run into this situation? Is that outside a KWin session? This is outside of a kwin session under Weston. it seems kglobalaccel5 getting called constantly by kded5, and then it quits. If I don't export KDE_DEBUG=1, I get flooded by drkonqi dialogs Review request for kglobalaccel created: https://git.reviewboard.kde.org/r/124266/ And requires a small change in KWin, too. Git commit fd607506642195b1cfd58d92b5d720d888b711b1 by Martin Gräßlin. Committed on 07/07/2015 at 11:35. Pushed by graesslin into branch 'master'. Introduce an env variable to overwrite the platform name With the env variable KGLOBALACCELD_PLATFORM the platform name can be specified, which is being used for searching for the plugin to load. This is required because some plugins are more specific than the supported platforms. If the environment variable is not specified, the QGuiApplication::platformName() is used as before. REVIEW: 124266 CHANGELOG: New env variable KGLOBALACCELD_PLATFORM to specify the platform plugin to load. M +6 -2 src/runtime/globalshortcutsregistry.cpp http://commits.kde.org/kglobalaccel/fd607506642195b1cfd58d92b5d720d888b711b1 Git commit 316914a38b315ef479aa413b41514ddcd9738278 by Martin Gräßlin. Committed on 07/07/2015 at 11:36. Pushed by graesslin into branch 'master'. Change supported platforms of kglobalaccel plugin to "org.kde.kwin" Overwrite the platform name through the environment variable and ensure that the plugin is not picked in non-kwin Wayland sessions as that puts kglobalaccel5 into a crash restart loop. M +1 -0 globalshortcuts.cpp M +1 -1 plugins/kglobalaccel/kwin.json http://commits.kde.org/kwin/316914a38b315ef479aa413b41514ddcd9738278 |