Bug 381015

Summary: kmail often fails to remove mails from folders when multiple mails are moved or deleted
Product: [Applications] kmail2 Reporter: Mathias Homann <Mathias.Homann>
Component: commands and actionsAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: grave CC: arojas
Priority: NOR    
Version: 5.5.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Mathias Homann 2017-06-09 12:41:27 UTC
Sometimes when I delete or move multiple emails from the same folder, kmail copies the mails into the destination, but does NOT remove them from the source folder... but when I look in the source folder with any other imap client (i.e. thunderbird) the mails are actually gone from the source folder, just not in kmail.

workaround exists: quit kmail / kontact, restart the akonadi server, then run akonadictl fsck and akonadictl vacuum.

and yes I DO CONSIDER THIS A GRAVE BUG.
Comment 1 Colin J Thomson 2017-06-09 18:32:39 UTC
I can confirm this here.
Testing Fedora 26 which has the same version of Kmail and I am also using IMAP. Restarting akonadi clears it for me. Its a tough one as it does not happen all of the time on this box.

Maybe related to this long standing bug?

https://bugs.kde.org/show_bug.cgi?id=317933
Comment 2 Mathias Homann 2017-06-09 19:58:24 UTC
I'm not sure about that, this one is more like the total opposite, the message content disappears from the preview area but the list stays what it was.
Comment 3 Antonio Rojas 2017-06-09 21:06:33 UTC

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