Bug 477188 - Removed global shortcuts persist in the UI, but don't do anything
Summary: Removed global shortcuts persist in the UI, but don't do anything
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keys (other bugs)
Version First Reported In: 5.27.9
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2023-11-18 14:20 UTC by Celeste Liu
Modified: 2024-03-19 21:52 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
My .config/kglobalshortcutsrc (19.96 KB, text/plain)
2023-11-18 14:31 UTC, Celeste Liu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Celeste Liu 2023-11-18 14:20:38 UTC
SUMMARY

After I upgrade to kde 6, all custom shotcut is broken (both new action added in Custom Shotcuts Service and existed action in KWin ). I try to re-add them, but it still doesn't work.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Kernel Version: 6.6.1-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics
Memory: 27.3 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82JW
System Version: Lenovo Legion R70002021

ADDITIONAL INFORMATION
Comment 1 Celeste Liu 2023-11-18 14:21:16 UTC
ADDITIONAL INFORMATION
All bultin shotcuts works well.
Comment 2 Nicolas Fella 2023-11-18 14:26:43 UTC
Please attach your .config/kglobalshortcutsrc

Can you describe some of the changes you made?
Comment 3 Celeste Liu 2023-11-18 14:31:52 UTC
Created attachment 163266 [details]
My .config/kglobalshortcutsrc

I enter Shotcuts > KWin, and set Walk Through Desktop List to Ctrl+Tab.
Comment 4 Nicolas Fella 2023-11-18 14:44:22 UTC
There seems to be a few different things going on here:

- The "Walk through desktop list" feature has been dropped as far as I can tell: https://invent.kde.org/plasma/kwin/-/merge_requests/3871
- That there still is a shortcut entry for a removed feature in the UI is a bug/shortcoming of the global shortcuts infrastructure
- The "Custom Shortcuts Service" section refers to the old "khotkeys" infrastructure, which was dropped. There is a new/different way to specify custom shortcuts, but I'm not sure to what extend we have migration there. Can you describe more what kind of shortcuts you had set up there?
Comment 5 Celeste Liu 2023-11-18 14:52:55 UTC
(In reply to Nicolas Fella from comment #4)
> There seems to be a few different things going on here:
> 
> - The "Walk through desktop list" feature has been dropped as far as I can
> tell: https://invent.kde.org/plasma/kwin/-/merge_requests/3871
> - That there still is a shortcut entry for a removed feature in the UI is a
> bug/shortcoming of the global shortcuts infrastructure

so is there another way to enumerate virtual desktops with only keyboard?

> - The "Custom Shortcuts Service" section refers to the old "khotkeys"
> infrastructure, which was dropped. There is a new/different way to specify
> custom shortcuts, but I'm not sure to what extend we have migration there.
> Can you describe more what kind of shortcuts you had set up there?

I used this file to add it before. https://github.com/flameshot-org/flameshot/blob/master/docs/shortcuts-config/flameshot-shortcuts-kde.khotkeys
Comment 6 Nate Graham 2023-11-26 16:27:56 UTC
There is no migration from KHotkeys to KGLobalAccel. What seems actionable here is for removed shortcuts to get removed in the UI as well.
Comment 7 Nicolas Fella 2024-03-19 21:52:42 UTC
https://invent.kde.org/plasma/kwin/-/merge_requests/5036 removes the no longer existing shortcuts from the UI.

https://invent.kde.org/plasma/kglobalacceld/-/merge_requests/37 migrates (some of) the "Custom Shortcuts" items to proper items.

There's still a generic bug about shortcuts from no longer existing apps not being removed, which is hard to solve.

With that I don't think there's anything actionable to do here