Summary: | Modification in shortcuts under "Common Actions" only takes effect after re-login | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Patrick Silva <bugseforuns> |
Component: | kcm_keys | Assignee: | Michael Jansen <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, nate, plasma-bugs |
Priority: | NOR | ||
Version: | 5.23.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kconfigwidgets/commit/d3d7f7cd3fa26b6b3a861fde1aca0992f9e80965 | Version Fixed In: | 5.91 |
Description
Patrick Silva
2020-09-17 21:53:49 UTC
In fact any modification in "common actions" shortuts takes effect after re-login. If you just uncheck default "del" shortcut and apply the change, it continues to work until re-login. Is it the login process or restarting of applications that did the trick? The old kcm claimed that you would need to restart applications https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/26/diffs#1dc095b128d342d1fa92901ecb8ba71bc890b355_158_0 I need to restart Plasma session. Restarting the application (Dolphin in this case) does not help. Can confirm. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kconfig/-/merge_requests/100 A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kconfigwidgets/-/merge_requests/98 Git commit 820dc0a553e50cc4560733d43fca2674a61d43b3 by David Redondo. Committed on 24/01/2022 at 13:23. Pushed by davidre into branch 'master'. Introduce StandardShortcutWatcher to watch for runtime changes Currently an application needs to be restarted before it can see any changes made to the standard shortcut configuration. To notify about changes a new class is introduced that looks for those changes using KConfigWatcher and also updates the global map. M +1 -0 autotests/CMakeLists.txt A +63 -0 autotests/kstandardshortcutwatchertest.cpp [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.0)] M +3 -0 src/gui/CMakeLists.txt M +7 -3 src/gui/kstandardshortcut.cpp A +20 -0 src/gui/kstandardshortcut_p.h [License: LGPL(v2.0+)] A +46 -0 src/gui/kstandardshortcutwatcher.cpp [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.0)] A +54 -0 src/gui/kstandardshortcutwatcher.h [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.0)] https://invent.kde.org/frameworks/kconfig/commit/820dc0a553e50cc4560733d43fca2674a61d43b3 Git commit d3d7f7cd3fa26b6b3a861fde1aca0992f9e80965 by David Redondo. Committed on 24/01/2022 at 13:33. Pushed by davidre into branch 'master'. Change shortcuts of standard actions if standard shortcut changes Now when standard shortcuts are changed while an application is running, changes take effect immediately. M +18 -0 autotests/kstandardactiontest.cpp M +1 -0 autotests/kstandardactiontest.h M +30 -3 src/kstandardaction.cpp M +1 -1 src/kstandardaction_p.h https://invent.kde.org/frameworks/kconfigwidgets/commit/d3d7f7cd3fa26b6b3a861fde1aca0992f9e80965 |