Bug 484506 - Changing command doesn't get applied until restart
Summary: Changing command doesn't get applied until restart
Status: CONFIRMED
Alias: None
Product: frameworks-kglobalaccel
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.0.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-26 08:58 UTC by Grósz Dániel
Modified: 2025-07-19 19:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grósz Dániel 2024-03-26 08:58:49 UTC
SUMMARY
If I change the command in a shortcut for a custom command/script, the change isn't applied until logging out and in.

STEPS TO REPRODUCE
1. In System Settings / Keyboard / Shortcuts, click Add New / Command or Script. Enter a command, like "kdialog --msgbox AAA", and click Add.
2. Use "Add custom shortcut" to add a shortcut.
3. Click the little Edit icon in the list of shortcuts/applications, and change the command to, say, "kdialog --msgbox BBB".
4. Press the shortcut.

OBSERVED RESULT
In the list of shortcuts/applications on the left, the command changes. However, in the main, shortcut editing part of the window to the right, the title remains the earlier command. Upon pressing the shortcut, the earlier command is executed (the dialog says "AAA"). After the Plasma session is started anew, the change is applied.

EXPECTED RESULT
The change is applied everywhere immediately, and a subsequent activation of the shortcut executes the new command.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240321
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-1-default (64-bit)
Graphics Platform: X11
Comment 1 Gordon Tyler 2025-07-19 19:51:37 UTC
I've observed the same behavior.

SOFTWARE VERSIONS
Operating System: Bazzite 42
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.6-105.bazzite.fc42.x86_64 (64-bit)
Graphics Platform: Wayland