[Bug 156190] New: Trivial to fix, yet annoying: KMail loses emails on crash

Wolfgang Wieser wwieser at gmx.de
Sat Jan 19 18:46:13 GMT 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=156190         
           Summary: Trivial to fix, yet annoying: KMail loses emails on
                    crash
           Product: kmail
           Version: unspecified
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs kde org
        ReportedBy: wwieser gmx de


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.)



More information about the Kdepim-bugs mailing list