Bug 280642

Summary: Subject and others not saved when KMail is quit
Product: [Applications] kmail2 Reporter: Thiago Macieira <thiago>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: montel
Priority: NOR    
Version: 2.0.95   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.1
Sentry Crash Report:

Description Thiago Macieira 2011-08-23 12:44:42 UTC
Version:           2.0.95 (using Devel) 
OS:                Linux

When you quit KMail with an email in composition, then reopen KMail, the Composer window shown will have lost parts of the email headers. It has definitely lost the Subject and From fields, and it probably has lost the Identity setting too.

Reproducible: Always

Steps to Reproduce:
1. Select an email to reply to
2. Click Reply
3. Quit KMail without sending the reply (Ctrl+Q in the main window)
4. Wait for KMail to really quit (kquitapp might be necessary)
5. Relaunch KMail and observe the composer window

Actual Results:  
The composer window shown is missing the Subject. If you type it in and try to send, KMail will complain that the From field is empty too, which probably indicates that the identity was lost too.

Expected Results:  
All aspects of the unsent email are preserved, including the identity, From and Subject.

OS: Linux (i686) release 2.6.38.7-desktop-1mnb2
Compiler: gcc
Comment 1 Laurent Montel 2011-08-23 18:33:20 UTC
I confirm this bug.
Will look at how to fix it.
Comment 2 Laurent Montel 2011-08-23 20:46:45 UTC
Fixed in 4.7.1 (I hope)/master