Bug 404790

Summary: delete expired messages permanently: extra confirm dialogue
Product: [Applications] kmail2 Reporter: Robert Riemann <robert>
Component: UIAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Current warning

Description Robert Riemann 2019-02-24 22:33:21 UTC
This is a wishlist item to avoid unintentional batch deleting of mails.

I configured the expiration of some IMAP folders in KMail2 for the first time. There are two options:

1) Move expired message to …
2) Delete expired messages permanently (default)

If the user (me) forgets to configure a folder for (1) and presses directly on the button "save settings and expire", than messages are permanently lost.

Henceforth, I suggest to add a security question dialogue popping up when (2) is still selected, asking if one really has the intention to delete mails permanently.
Comment 1 Christophe Marin 2019-02-25 10:57:02 UTC
Created attachment 118348 [details]
Current warning

Such a warning exists in recent versions.

Here's a screenshot of the current behaviour when the folder field is left empty