| Summary: | KGlobalAccel: Let me name descriptions for custom function | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Maximilian Böhm <mabo> |
| Component: | kcm_keys | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | a.skembris, fanzhuyifan, gudvinr+kde, jcfisher, kde, kde, kishore96, mabo, MurzNN, nate, saunders, smowtenshi, sthenujan2002 |
| Priority: | NOR | ||
| Version First Reported In: | 5.27.7 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/-/commit/535a67417b93e4f3856f027fd9c5693b8725c588 | Version Fixed/Implemented In: | 6.2.0 |
| Sentry Crash Report: | |||
| Attachments: |
hotkey popup
hotkey description |
||
|
Description
Maximilian Böhm
2023-08-08 17:32:21 UTC
A merge request is already in the works https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1644 *** Bug 480027 has been marked as a duplicate of this bug. *** Is there any progress on this? With Plasma 6 going to repositories, this functionality that KHotkeys had is really needed for KGlobalAccel. *** Bug 489446 has been marked as a duplicate of this bug. *** Was just about to post a bug and came across this one, which was close enough.
I have upgraded to kde6 and under Shortcuts > Commands it still has everything from KDE5, and they for the most part work, but I cannot change them. For example in ~/.config/khotkeysrc
[Data_5]
Comment=Toggle between full speed and normal.
Enabled=true
Name=Adjust Fan Speed
Type=SIMPLE_ACTION_DATA
[Data_5Actions]
ActionsCount=1
[Data_5Actions0]
CommandURL=/usr/local/bin/fan_toggle_full_throttle.sh
Type=COMMAND_URL
[Data_5Conditions]
Comment=
ConditionsCount=0
[Data_5Triggers]
Comment=Simple_action
TriggersCount=1
[Data_5Triggers0]
Key=Volume Down
Type=SHORTCUT
Uuid={8829721f-8a47-4cca-a7f4-45111daaf719}
Now if I go to edit this I only get the two images (khotkey1 khotkey2). The comment "Toggle between full speed and normal." is gone, if I click on the edit button it just shows the name "Adjust Fan Speed", the command cannot be seen. Perhaps with a fresh khotkeysrc this will work better but right now this is a bit janky.
Created attachment 172232 [details]
hotkey popup
Created attachment 172233 [details]
hotkey description
marking to confirmed since the MR was basically abandoned *** Bug 491559 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2432 Git commit 535a67417b93e4f3856f027fd9c5693b8725c588 by Yifan Zhu. Committed on 19/08/2024 at 13:59. Pushed by fanzhuyifan into branch 'master'. kcms/keys: support naming command Add customizable names to custom command shortcuts, which makes them easier to keep track of. Original author: Thenujan Sandramohan <sthenujan2002@gmail.com> M +1 -1 kcms/keys/basemodel.cpp M +20 -8 kcms/keys/kcm_keys.cpp M +4 -2 kcms/keys/kcm_keys.h M +36 -19 kcms/keys/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/535a67417b93e4f3856f027fd9c5693b8725c588 |