Bug 497020

Summary: Kmail shortcuts are forgotten after first use
Product: [Applications] kmail2 Reporter: quazgar <quazgar>
Component: UIAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.22.3   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description quazgar 2024-12-03 23:33:09 UTC
SUMMARY

When setting shortcuts for actions such as "Archive", using this single shortcut once resets the shortcut to "None" again. I do not know, if this is relevant, but setting the shortcut does not touch a simple file in ~/.config/

STEPS TO REPRODUCE

1. Set shortcut for "Archive" to "Shift-v".
2. Check that nothing changed in ~/.config: `find ~/.config/ -mmin -1`
3. Apply the shortcut on a single message (must be in an account that has an archive target configured).
4. Try to apply the shortcut a second time

OBSERVED RESULT

1. No relevant files changed in ~/.config/
2. The shortcut does not work a second time.

EXPECTED RESULT

The shortcut should simply work.

SOFTWARE/OS VERSIONS

Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-26-amd64 (64-bit)
Graphics Platform: offscreen
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6400

ADDITIONAL INFORMATION

Similar bugs:

- #137484 Still on KMail 1
- #171555 Marked as duplicate of #137484