Bug 474147

Summary: Adding new shortcut command after cancelling edit opens edit again
Product: [Applications] systemsettings Reporter: adikso4
Component: kcm_keysAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate
Priority: NOR    
Version First Reported In: 5.27.7   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0
Sentry Crash Report:

Description adikso4 2023-09-04 16:25:58 UTC
SUMMARY
Adding new command after cancelling edit opens edit again

STEPS TO REPRODUCE
1. Add any new command shortcut via "Add Command...".
2. Open edit of the added command and close the dialog with "X".
3. Press "Add Command..." to add a new command.
4. "Edit Command" dialog for previously added command is opened instead of an "Add Command" dialog for a new one.

OBSERVED RESULT
Edit is reopened for previously cancelled edit instead of dialog for creating new one.

EXPECTED RESULT
Pressing "Add Command..." should open "Add Command" dialog with empty input box.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Comment 1 Nate Graham 2023-09-05 19:52:19 UTC
This is fixed in Plasma 6 already.