Bug 433253

Summary: Folder list shows unread messages but filter doesn't
Product: [Applications] kmail2 Reporter: SZÉKELYI Szabolcs <cc>
Component: foldersAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: normal CC: gab, kleagg
Priority: NOR    
Version: 5.23.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: A screenshot showing the problem: folder list shows 2 unread messages but when I filter the messate list for unread messages, nothing shows up
Similar issue, 3 messages reported as unread, but all are read
Another occurrence of the bug

Description SZÉKELYI Szabolcs 2021-02-19 15:28:56 UTC
Created attachment 135904 [details]
A screenshot showing the problem: folder list shows 2 unread messages but when I filter the messate list for unread messages, nothing shows up

SUMMARY

See the attached screenshot. The folder list shows 2 unread messages but filtering reveals none. This happened a few times already, and then it goes away somehow.

STEPS TO REPRODUCE

Don't know; jut using Kmail randomly ends up in a situation like this.

OBSERVED RESULT

Number of unread messages is inconsistent with the message list.

EXPECTED RESULT

Filtering the message list for unread messages should give exactly the same number of results as indicated by the folder.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 20.10
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2
Kernel Version: 5.8.0-43-generic
OS Type: 64-bit
Comment 1 Gabor Körber 2021-11-16 10:35:38 UTC
Created attachment 143616 [details]
Similar issue, 3 messages reported as unread, but all are read

I have probably the same or a similar issue; the 3 messages shown in the folder box cannot be found; I have refreshed the folder by now several times. Problem is already at least 6 months old.

Akonadi was configured with postgres, mail account is office365 IMAP.

If I knew how to debug it better, I would.
Comment 2 Gaël de Chalendar (aka Kleag) 2023-07-04 08:05:56 UTC
Created attachment 160071 [details]
Another occurrence of the bug

I also encounter this bug from time to time. Don't know how I made it disappear previous times. Some random things with akonadi I suppose. The backend is EWS connector.

Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Kernel Version: 5.19.0-46-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8650U CPU @ 1.90GHz
Memory: 31.2 Gio of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Dell Inc.
Product Name: Latitude 5590