Bug 345976

Summary: Encrypted mails in Drafts folder are not restored correctly for editing
Product: [Applications] kmail2 Reporter: quazgar <quazgar>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: sknauss
Priority: NOR    
Version: 4.14.1   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description quazgar 2015-04-08 10:47:39 UTC
When saving an email temporarily in the drafts folder in an encrypted manner, restoring it does not restore the (encrypted) body, only the header fields.

Reproducible: Always

Steps to Reproduce:
1. Compose new message, select encryption.
2. Save message in the drafts folder.
3. Double-click on the saved message in the drafts folder to continue editing.

Actual Results:  
The message body is empty, the (encrypted) former content is attached as "msg.asc".

Expected Results:  
The message should appear in the state it was saved in.

KMail 1.14.1-1, using gpg-agent 2.0.26-6.  The encrypted messages shows up correctly in the Drafts folder.  When the gpg-agent has timed out, KMail even triggers it so that pinentry-qt4 asks for the password.

Workaround: Decrypt msg.asc into a file, e.g. msg.mbox, open that manually with KMail and copy & paste the content.
Comment 1 Sandro Knauß 2015-04-08 10:52:43 UTC

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