Bug 270800

Summary: do not close draft when saving it
Product: [Applications] kmail2 Reporter: Ivan D Vasin <ivan>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: wishlist    
Priority: NOR    
Version: Git (master)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ivan D Vasin 2011-04-12 22:58:28 UTC
Version:           1.13.5 (using KDE 4.6.2) 
OS:                Linux

when i save a draft in Kmail, the composer saves the draft and closes.  i know of no other editing application that closes documents when you save them (at least not by default).

more often than not (probably about 90% of the time for me), when i save a draft, i'm saving it with the intention of continuing to edit it. with the current behavior, i must immediately browse to my Drafts folder to re-open the draft.  interestingly, if i then immediately close the message, the draft continues to be saved.  so Kmail is clearly capable of distinguishing between "save draft" and "close draft", but for some reason it couples the "close draft" action to the "save draft" UI command.  if i really wanted to save and close, i could easily close the composer with Ctrl+W, Alt+F4, clicking the Close button, or File -> Close.

please fix this behavior.

Reproducible: Always

Steps to Reproduce:
1. compose a message.
2. File -> Save as Draft.

Actual Results:  
draft is saved and closed.

Expected Results:  
draft is saved and remains open.

OS: Linux (x86_64) release 2.6.35-28-generic
Compiler: cc
Comment 1 Christophe Marin 2011-04-30 15:41:46 UTC
Valid in KMail2. Reassign.
Comment 2 Christophe Marin 2011-04-30 15:45:18 UTC
we have an older one instead.

*** This bug has been marked as a duplicate of bug 96901 ***