Summary: | Screen Layout switching shortcut Meta+P does not work in Plasma 6 rc1 | ||
---|---|---|---|
Product: | [Plasma] KScreen | Reporter: | SigHunter <sighunter> |
Component: | OSD and Plasma applet | Assignee: | kscreen-bugs-null <kscreen-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | josef64, kde, nate, nicolas.fella |
Priority: | NOR | Keywords: | qt6 |
Version First Reported In: | 5.92.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=475694 | ||
Latest Commit: | https://invent.kde.org/plasma/kscreen/-/commit/0b19db456ff44e759e7ce4786ff84289a896d11e | Version Fixed In: | 6.0 |
Sentry Crash Report: |
Description
SigHunter
2024-01-11 13:55:34 UTC
related to https://bugs.kde.org/show_bug.cgi?id=475694 Git commit 167770b53920ebd3c75ed5c7328ccb651c6b6333 by Vlad Zahorodnii, on behalf of Nicolas Fella. Committed on 23/01/2024 at 11:35. Pushed by vladz into branch 'master'. Define display switcher shortcut via desktop file instead of at runtime As per https://phabricator.kde.org/T12063 we want to move more towards defining shorcuts via desktop files instead of at runtime, which has several problems Instead of creating a KActionCollection and QAction, assigning a global shortcut, and connecting to the QAction being triggered define a DBus call to be executed when triggering the shortcut This fixes several problems: - The current shortcut is registered under the kded5 component, which not only looks weird in the systemsettigs UI, it also breaks in Plasma 6 where kded6 is used - On Wayland the kded module isn't used, so nothing handles the shortcut there currently Related: bug 475694 M +0 -1 .kde-ci.yml M +0 -1 CMakeLists.txt M +0 -1 kded/CMakeLists.txt M +1 -18 kded/daemon.cpp M +2 -0 osd/CMakeLists.txt A +13 -0 osd/org.kde.kscreen.desktop https://invent.kde.org/plasma/kscreen/-/commit/167770b53920ebd3c75ed5c7328ccb651c6b6333 Git commit 0b19db456ff44e759e7ce4786ff84289a896d11e by Vlad Zahorodnii, on behalf of Nicolas Fella. Committed on 23/01/2024 at 11:40. Pushed by vladz into branch 'Plasma/6.0'. Define display switcher shortcut via desktop file instead of at runtime As per https://phabricator.kde.org/T12063 we want to move more towards defining shorcuts via desktop files instead of at runtime, which has several problems Instead of creating a KActionCollection and QAction, assigning a global shortcut, and connecting to the QAction being triggered define a DBus call to be executed when triggering the shortcut This fixes several problems: - The current shortcut is registered under the kded5 component, which not only looks weird in the systemsettigs UI, it also breaks in Plasma 6 where kded6 is used - On Wayland the kded module isn't used, so nothing handles the shortcut there currently Related: bug 475694 (cherry picked from commit 167770b53920ebd3c75ed5c7328ccb651c6b6333) M +0 -1 .kde-ci.yml M +0 -1 CMakeLists.txt M +0 -1 kded/CMakeLists.txt M +1 -19 kded/daemon.cpp M +2 -0 osd/CMakeLists.txt A +13 -0 osd/org.kde.kscreen.desktop https://invent.kde.org/plasma/kscreen/-/commit/0b19db456ff44e759e7ce4786ff84289a896d11e thanks Vlad and Nicolas, I rebuild kscreen 6.0 rc1 with the patch and after a reboot it works again, very nice |