Bug 169177

Summary: dIMAP: Moving a mail from one folder to another will set this mail's status to "unread"
Product: [Applications] kmail Reporter: Paul Staroch <paulchen>
Component: disconnected IMAPAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jsardid, ruchir.brahmbhatt
Priority: NOR Keywords: triaged
Version: 1.10.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Paul Staroch 2008-08-15 15:04:46 UTC
Version:            (using KDE 4.1.0)
Installed from:    Ubuntu Packages
Compiler:          gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7) 
OS:                Linux

I'm using disconnected IMAP with a GMail account. Whenever I move a mail with status "read" from one folder to another, this mail's status will be set to "unread".

How to reproduce:
1. Use disconnected IMAP (and a GMail account?).
2. Select a mail with status "read" (also works with an arbitrary number of mails).
3. Move it to another folder.
4. Synchronize the destination folder with the IMAP server.

The mail will be uploaded and downloaded afterwards. Its status will now be "unread" instead of "read".
Comment 1 Ruchir Brahmbhatt 2009-04-11 08:57:29 UTC
Can not reproduce on 1.11.2(kde 4.2.2). Mail status is preserved in synchronization.
Comment 2 avlas 2011-04-13 01:55:53 UTC
I'm suffering exactly the same thing, but only in gmail not in another disconnected imap account. So it could be something related to the way gmail moves e-mails between folders (or add tags to them)
Comment 3 avlas 2011-04-13 03:33:45 UTC
this bug is not resolved, there is more people suffering it: https://bugs.kde.org/show_bug.cgi?id=232121

it may be related to how kmail manages gmail imap, as I could not see a similar bug in, for instance, thunderbird