Bug 140010

Summary: opening an IMAP folder removes all unread emails from the message-list and then uploads them, marking them as new.
Product: [Applications] kmail Reporter: S. Burmeister <sven.burmeister>
Component: IMAPAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: bjoern
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description S. Burmeister 2007-01-13 09:54:41 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    SuSE RPMs
OS:                Linux

There is new mail in my IMAP-inbox. If I click on a local folder and then back on the IMAP inbox the unread messages are shown but then get removed one by one from the message list.

The progress dialogue shows that they are retrieved from the IMAP-server. Straight after they are all removed (only the unread ones) they re-appear as new (red) in the message-list again and the progress dialogue shows that they are uploaded.

Expected behaviour would be to just ckec for new emails and do not remove any from the list and certainly not upload anything or mark unread (blue) mails as new (red).
Comment 1 S. Burmeister 2007-01-15 22:28:42 UTC
The email gets downloaded after that it is marked as deleted on the server and then re-uploaded. I wonder what happens if the user aborts the re-uploading because the connection is cut off or something similiar.

If it is not re-uploaded and the "to be deleted" emails get deleted on the next sync this is a data-loss bug!
Comment 2 S. Burmeister 2007-01-15 22:35:43 UTC
In fact, canceling the re-uploading leaves the messages as "to be deleted" which results in those emails not being downloaded again, hence they are lost.

Please increase the bug to grave.
Comment 3 YeHaa 2007-02-21 15:48:06 UTC
This is probably related to message-filters. See bug #125084 for more information.
Comment 4 Björn Ruberg 2009-12-25 00:03:16 UTC
I consider that IMAP missbehaviour as solved in the KDE 4.3 line. Please report if I'm wrong.