Bug 397677

Summary: Folder list shows all mails as unread
Product: [Applications] kmail2 Reporter: sourcemaker <kde-bugzilla>
Component: foldersAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: creideiki+kdebugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Version

Description sourcemaker 2018-08-20 18:47:14 UTC
I have installed all available Arch Linux packages. My system is thus up to date. Since the last update, all mails in the folder list are displayed as unread, even though they are already marked as read in the mail overview. Also a manual change as unread and read again does not help. The mails remain unread in the folder list.

Access via IMAP.
The database is PostgreSQL.
Comment 1 sourcemaker 2018-08-20 18:52:14 UTC
Created attachment 114522 [details]
Version
Comment 2 Karl-Johan Karlsson 2019-11-16 09:06:12 UTC
I just had the same thing happen to me. KMail had been running fine for a couple of days, but suddenly started counting all mails as unread in the folder list and in the taskbar.

This is on a Gentoo Linux system, running KDE apps 19.08.2, KDE frameworks 5.63.0, and Qt 5.13.2, fetching mail through IMAP from a Dovecot server to a PostgreSQL 11.5 database.
Comment 3 Saeid Akbari 2019-12-08 17:40:03 UTC
Having this issue for quite some time. Used to work around it by using:
akonadictl fsck
while KMail is running and then restarting KMail afterward.

But even this doesn't work anymore. It is really annoying and makes KMail unusable.

KMail 19.08.3
KDE Frameworks 5.64.0
Qt 5.12.5
PostgreSQL 10.9
Comment 4 sourcemaker 2023-08-09 13:38:58 UTC
This issue no longer exists