Bug 468527

Summary: Closing Email Crafting Dialog asks "or" question with yes/no answer possibilities
Product: [Applications] kmail2 Reporter: mail
Component: UIAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.21.3   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Confirmation dialog for closing email compose window

Description mail 2023-04-15 07:56:11 UTC
Created attachment 158123 [details]
Confirmation dialog for closing email compose window

SUMMARY

Sorry about the vague title, english is not my first language.

When crafting an email with kmail and then closing the window, a question dialog pops up whether the mail should be deleted or saved for later.
The possible answers are "Yes", "No" and "Cancle", which make no sense in an "or" question.

My expectation would be that the options would be "Delete", "Save for later" and "Cancel".

Attached is an image of the dialog, although in german language.

STEPS TO REPRODUCE
1. Create new email, type a few words
2. Close the email composing window (in my case via the window decoration)
3. Observe the closing-confirmation dialog

OBSERVED RESULT

"Yes", "No", "Cancel" in the Closing-confirmation dialog

EXPECTED RESULT

"Delete", "Save for later", "Cancel" in the Closing-configuration dialog

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: NixOS 22.11 / 5.26.4
(available in About System)
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Comment 1 mail 2023-04-15 08:01:36 UTC
After looking at the sources of kmail, it seems that this issue has already been addressed in latest git master.