Version: 1.9.5 (using KDE 3.5.5, Kubuntu (edgy) 4:3.5.5-0ubuntu3) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.17-10-generic After a crash cause another bug (already reported) in one folder all mails was twice listed. If i select those mails one of them contains the mail, the second one is empty, with no information. I thought the remove duplicates function will test which mail is ok and delete the second. But it doesnt! The function only tested the headline and delete one of them. Nearly all of my mails are deleted! The function should: -Load the mails which are duplicated and test the mails if them contains data -(Re)move the duplicated mails only to the recycle bin Hope this bug is resolved in the near future, this must not happen to another user.
It's hard to reproduce, cause the data loss will only occur if there were a problems with inconsistency of the mail files. If not, this function will work as expected. But I think it's very important that this function will check the consistency of the mails with it is going to delete permanently.
*** Bug 146230 has been marked as a duplicate of this bug. ***
I think the button that you want is "Recreate Index" in the context menu for a folder (or similar option), which should remove the empty duplicate messages. Renaming the summary to make the data loss more apparent.
Seems like this is still happening in KDEPIM 4.6 beta5
Thank you for taking the time to file a bug report. KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2. We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.