Bug 187138 - do not delete mail on editing (major, data loss)
Summary: do not delete mail on editing (major, data loss)
Status: RESOLVED DUPLICATE of bug 186932
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-14 14:42 UTC by Maciej Pilichowski
Modified: 2009-03-19 00:42 UTC (History)
1 user (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 Maciej Pilichowski 2009-03-14 14:42:23 UTC
Version:            (using KDE 4.2.1)
Installed from:    SuSE RPMs

Because I don't see any backup mechanism it is fairly easy to loose mail while composing it, and what's more KMail actually misleads user about the security -- saving as draft, is to any similar to save-often while editing in kate, because each time you continue editing the mail the mail is deleted by KMail.

This is serious issue.

How to reproduce.
1) start KMail, new message
2) type something in Composer
3) save as draft
4) go to drafts folder
5) edit the saved mail
6) you see composer? Ok, kill Kmail (not quit, kill)
7) run KMail again
8) all you typed before (6) is lost

Once again -- saved data in Kate, are saved. Saved data in KMail are _not_ saved.
Comment 1 George Kiagiadakis 2009-03-14 15:13:40 UTC
I can't reproduce this. I kill kmail and after I reopen it, composer appears together with the main window and shows everything I had typed.
Comment 2 Maciej Pilichowski 2009-03-14 15:28:07 UTC
I can reproduce it using KDE3.5.10 and KDE4.2.1 -- I only once was unable to reproduce it (i.e. the composer restored the mail). Btw. I killed Kmail using KDE kill.

However I encountered data loss (for real) when the whole system crashed.

The current design for me is too risky -- the original mail should stay in place, and further saving should alter it. Pretty much as it happens with editor.

Or if it is impossible, keep the original content, until the new mail could be replaced, and only after that the old one would be deleted.
Comment 3 Jaime Torres 2009-03-14 22:36:08 UTC
It is about the same consecuencies...

*** This bug has been marked as a duplicate of bug 186932 ***