Bug 156190 - Restored mails should be autosaved immediatley
Summary: Restored mails should be autosaved immediatley
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: composer (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR grave
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-01-19 19:46 UTC by Wolfgang Wieser
Modified: 2009-04-10 23:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Wieser 2008-01-19 19:46:12 UTC
Version:            (using KDE 3.5.8)
Installed from:    Debian testing/unstable Packages
Compiler:          does not matter 
OS:                Linux

KMail has a cool feature storing emails which are currently composed into 
a file so that once KMail crashes and is being re-started, the unfinished 
emails appear again. 

This feature, however, has a bug: 

Directly after re-start the file containing the unfinished emails is read, 
emails are displayed as composer windows, and then the file is deleted. It will 
be re-written after some minutes. If KMail crashes during that time, the 
emails will be lost!

How to reproduce: Write an email, wait some minutes, kill KMail. 
Re-start kmail, see the composer re-appear and immediately kill kmail again. 
Re-start and you'll see your email has disappeared. 

Solution: Upon startup, do not delete the file containing the currently composed emails - or immediately re-write the file. 

This is ANNOYING since I'm currently suffering a KMail-crashes-on-copy-and-
paste-bug which I will report separately once I have enough details for you 
guys to be able to reproduce it. 

So, PLEASE: Fix this; it's probably just a one-liner!
(And I've already lost several emails due to this bug.)
Comment 1 Thomas McGuire 2008-01-19 19:51:04 UTC
See also bug 147947 and bug 98116.
Comment 2 Wolfgang Wieser 2008-01-19 19:59:48 UTC
BTW, my version is KMail-1.9.7 from KDE-3.5.8. 
Comment 3 FiNeX 2009-04-03 11:01:31 UTC
Fortunatly this bug has been fixed on KDE 4 (just tested on current trunk r947715. This doesn't means that bug 147947 can be closed. It is a different issue.
Comment 4 Dominik Tritscher 2009-04-10 23:48:02 UTC
Works fine here too with kmail 1.11.90 from trunk. I'm closing this bug.