Bug 156548

Summary: Does not update read count from IMAP server
Product: [Applications] kmail Reporter: Stephen Patterson <steve>
Component: IMAPAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: aspotashev, kdebugs, kmm, mail
Priority: NOR Keywords: triaged
Version: 1.10.1   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 341134    

Description Stephen Patterson 2008-01-24 13:59:27 UTC
Version:           1.9.7 (using KDE 3.5.5)
Installed from:    Debian testing/unstable Packages
OS:                Linux

I have kmail configured for online imap, checking all folders every few minutes, I also have another mail client configured with the same IMAP server.

If I mark email as read with another client while kmail is running, the messages are marked correctly on the IMAP server but kmail does not update the message status displayed, even if I force kmail to check messages on the server.
Comment 1 Shem Valentine 2008-09-15 02:54:01 UTC
Reproducable in kmail 1.10.1.  IMAP specific, does not reproduce on DIMAP.

Steps to reproduce.
 - Set up two clients to check the same imap email. (thunderbird and kmail)
 - Generate ten new messages.
 - Check for new mail in kmail.
 - Check for new mail in thunderbird.
 - Mark a few messages read in thunderbird.
 - Messages do not get marked read in kmail.
Comment 2 George Kiagiadakis 2008-09-15 23:21:50 UTC
Confirmed but it actually it sees the new status but maybe not in the optimal way. After marking the message as read in thunderbird and opening this folder in kmail, the message is shown blue instead of red in kmail, which means it has read the new status, but it still displays the message as unread, which may not be the preferred behavior...
Comment 3 km 2010-07-17 17:31:49 UTC
This bug is still present in kmail 1.13.5.
Comment 4 Alexander Potashev 2014-11-20 16:24:06 UTC
I can reproduce this with KDE SC (and KMail) version 4.12.5 on Gentoo Linux. We still have both problems:
 1. Unread messages counter is not updated,
 2. Messages becoming unread on the server are not marked as unread in KMail after syncing.
Comment 5 Alexander Potashev 2014-11-20 16:25:18 UTC
Oh, wait. KMail2 is a different product here on Bugzilla, need to create a new bug.
Comment 6 Laurent Montel 2015-04-12 10:02:32 UTC
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.