Bug 483115 - Lost hotkey assignment and reappearing deleted hotkey entries in KDE 6
Summary: Lost hotkey assignment and reappearing deleted hotkey entries in KDE 6
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keys (other bugs)
Version First Reported In: 6.0.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
: 486722 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-10 13:59 UTC by Nelson
Modified: 2024-10-04 19:55 UTC (History)
8 users (show)

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


Attachments
Partial view of the hotkey assignment screen in system settings (32.22 KB, image/png)
2024-03-10 13:59 UTC, Nelson
Details
kglobalshortcutsrc config file (19.01 KB, text/plain)
2024-03-20 02:01 UTC, Nelson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nelson 2024-03-10 13:59:56 UTC
Created attachment 166877 [details]
Partial view of the hotkey assignment screen in system settings

SUMMARY
In the hotkey assignment part of system settings, I had a shortcut to open Dolphin (Meta+E) which stopped working in the new KDE version. If I re-assign it, it works; but after rebooting, the shortcut is lost.

Similarly, I had installed Waydroid to try it out and a lot of entries of its programs appeared in the hotkey section. I have uninstalled it now, but the hotkey entries remain. I can delete the entries from the list by pressing the trash can button next to them, but after restarting, they are back.

STEPS TO REPRODUCE
1. Set shortcut and/or remove leftover entries
2. Reboot

OBSERVED RESULT
Shortcut is gone and entries are back.

EXPECTED RESULT
Shortcut remains assigned and entries remain deleted.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Using X11

ADDITIONAL INFORMATION
Not sure if these two problems are related but since both involve setting something in the hotkey screen, which is then lost upon restart, I'm reporting them together.

I have attached an image showing the hotkeys section with all the entries added from using Waydroid; and the Dolphin entry with no shortcut set.
Comment 1 Nicolas Fella 2024-03-19 22:24:34 UTC
Can you please attach your .config/kglobalshortcutsrc?
Comment 2 Nelson 2024-03-20 02:01:06 UTC
Created attachment 167492 [details]
kglobalshortcutsrc config file
Comment 3 Nelson 2024-03-20 02:02:46 UTC
(In reply to Nicolas Fella from comment #1)
> Can you please attach your .config/kglobalshortcutsrc?

Certainly. I have added it as an attachment now.

I noticed that when I set the Dolphin shortcut, an entry gets added to this file with the hotkey; but upon restart, it's no longer there.

I also didn't see any reference in it to the extra entries I cannot get rid of.
Comment 4 waterlubber 2024-04-24 22:25:02 UTC
Looks like you're having the same bug as me (https://bugs.kde.org/show_bug.cgi?id=485659)
Comment 5 Nate Graham 2024-05-09 19:46:30 UTC
*** Bug 486722 has been marked as a duplicate of this bug. ***
Comment 6 Nelson 2024-06-12 11:21:42 UTC
UPDATE:
It seems that, at some point after KDE 6.0.5, Frameworks 6.2.0 and/or Qt 6.7.0 came out, the issue where my Dolphin shortcut would be forgotten on reboot as been resolved. I tried reassigning it a couple of days ago and it has remained assigned after restarting the system.

The other issue (the shortcuts for Waydroid programs that no longer exist and even if I delete the entries, they're back upon restart) is still there, however.
Comment 7 ANIME_DOWNShot 2024-07-30 05:51:37 UTC
Having this same issue but it comes along with the same shortcuts not being able to be removed from kmenu.
Comment 8 Luca Weiss 2024-09-25 17:27:28 UTC
I'm pretty sure I'm seeing this issue on one of my installs. I've had the shortcut Ctrl+Alt+T configured to launch Konsole but every time I reboot the shortcut gets lost.

When I set the shortcut in the system settings this part gets added to ~/.config/kglobalshortcutsrc:

    [services][org.kde.konsole.desktop]
    _launch=Ctrl+Alt+T

However on a different computer I do not see the same issue, the shortcut stays where it's supposed to.

Both are running Arch Linux, currently Plasma 6.1.5 with Framewrks 6.6.0 and Qt 6.7.2.
Comment 9 Luca Weiss 2024-10-04 19:55:20 UTC
Actually after writing my last comment - and resetting the shortcut after having given up for a bit, after a reboot the shortcut is still here. So at least for me this seems fixed now. Does anybody else here see the same behavior?