Bug 479147

Summary: Error message when a default shortcut and shortcut for a template are the same
Product: [Applications] kmail2 Reporter: Jerôme Pouiller <jerome.pouiller>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: minor    
Priority: NOR    
Version: 5.22.3   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Error message
Shortcut is not enabled
Shortcut is not enabled

Description Jerôme Pouiller 2023-12-29 09:54:11 UTC
Created attachment 164527 [details]
Error message

STEPS TO REPRODUCE
1. Open Configuration dialog box
2. Select Composer, then Custom Template
3. Add a new custom template
4. Assign a shortcut that already exist in standard shortcuts. In my case, I used "Ctrl+Shift+R". Note, the issue exists even if the shortcut is not enabled. It existence is sufficient to generate the error message.
5. Double-click on any mail, so kmail checks for conflicts in shortcuts.

OBSERVED RESULT
An error message appears. See attachment.

EXPECTED RESULT
Nothing should happen

OBSERVATIONS
The checkbox "Do not show this message again" seems to work as expected.

I assume the issue also exist for Shortcut associated to custom filters.
Comment 1 Jerôme Pouiller 2023-12-29 09:56:46 UTC
Created attachment 164528 [details]
Shortcut is not enabled
Comment 2 Jerôme Pouiller 2023-12-29 09:56:57 UTC
Created attachment 164529 [details]
Shortcut is not enabled