Version: 1.13.1 (using 4.4.1 (KDE 4.4.1), Kubuntu packages) Compiler: cc OS: Linux (i686) release 2.6.31-20-generic Open up a new email composer window. Begin composing an email. Turn off Kontact, or request computer shutdown. What I expect (because this was the case up until recently- *possibly* post 4.4, but definitely earlier) is that when you log back in and the session is restored (successfully bringing back everything else, such as browser tabs) or when Kontact is loaded again, is that not only will the main window open, but so will any emails I was in the process of composing. But no, not any more, they are simply lost. No trace in the drafts folder. Autosave interval is set, non-zero, and I have made sure I have waited, just in case, for the autosaver interval to pass before logging off/shutting down. Makes no difference. This is a regression that causes data loss.
Strange. I had a kmail crash recently and the mail draft in a composer window had been completly restored on restart. Running 4.4.0 here, so I cannot confirm.
*** Bug 232666 has been marked as a duplicate of this bug. ***
P B, it may be another much more minor problem. Can you please try to reproduce it (e.g. start composing, than killing kmail after a while) and then navigate into $HOME/.kde4/share/apps/autosave/ folder and check if composed message is here? (in mbox format) For me it seems that autosaving works correctly, but kmail forgets to open autosaved messages upon crash. Matěj
My KDEHOME is .kde/ rather than .kde4/, and also, the folder I think corresponding to what you're talking about was in .kde/share/apps/kmail/autosave And furthermore, it wasn't mbox format, but Maildir. But, yes, lo and behold, there were the missing drafts. I created another email just now, closed Kontact, looked in the directory, and there it was. Restarted Kontact, but nothing was restored.
Same here with kmail 1.13.5, the mails are in the autosave/cur folder but doesn't get opened when kmail (kontact) is restarted.
I confirm too. KMail does not open mail but autosaved mail are in .kde/share/apps/kmail/autosave/cur/xxxx
In my case the autosaved emails are where they should be and running kmail from konsole spits this out: kmail(30147) KMKernel::recoverDeadLetters: Unable to open autosave file "1281943446.29825.1hPE6"
Considering this as confirmed now. Has anyone an idea why these files cannot be opened? Can you do it with a text editor?
(In reply to comment #8) > Considering this as confirmed now. Has anyone an idea why these files cannot be > opened? Can you do it with a text editor? Yes, I can open them with a text editor without a problem. The file is 600 and owned by my user.
This bug is solved for me in 1.13.5 (KDEPIM 4.4.6).
I confirm. The bug is gone since 4.4.6
Very good. One less.