Bug 356950

Summary: [Regression][15.12.0] Empty message when viewing encrypted message in preview pane without auto-decrypt.
Product: [Applications] kmail2 Reporter: Melvin Vermeeren <mail>
Component: message listAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: mail, nexces, Nicky726, thiago
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Melvin Vermeeren 2015-12-20 13:39:20 UTC
When viewing an encrypted message in the preview pane the message is empty, as if there is no body at all.

This is with option "Security" => "Attempt decryption of encrypted messages when viewing" turned off. With the option turned on, it asks for passphrase and decrypts normally.

The preview pane is also empty with the setting on before the passphrase is given (pinentry).

Reproducible: Always

Steps to Reproduce:
1. Make sure option "Security" => "Attempt decryption of encrypted messages when viewing" is OFF.
2. Preview an encrypted message in the preview pane.

Actual Results:  
The preview pane only shows the header, the message body is blank as if there were none.

Expected Results:  
The "This message is encrypted click here to decrypt" template as seen in previous versions.
Comment 1 Adrian Piotrowicz 2016-02-02 07:35:49 UTC
Same happens in Chakra.
Comment 2 Nicky726 2016-02-10 18:23:12 UTC
I can confirm this with KMail 15.12.1 on Arch Linux. Also, the message is correctly decrypted if replying on it.
Comment 3 Thiago Macieira 2016-02-24 17:59:30 UTC
Confirming (reproducible in kmail 5.1.1).
Comment 4 Adrian Piotrowicz 2016-02-26 05:14:11 UTC
Seems to be fixed in KMail 5.1.2
Comment 5 Thiago Macieira 2016-02-26 16:55:56 UTC
Confirmed fixed in KMail 5.1.2