Bug 407818

Summary: Manual Filtering
Product: [Applications] kmail2 Reporter: BingMyBong <bingmybong>
Component: miscAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.9.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description BingMyBong 2019-05-22 07:59:09 UTC
SUMMARY
After running a bulk manual filter on IMAP Inbox, it sometimes leaves a random number as an Unread count - always different and never matches the original Unread count before the filter
STEPS TO REPRODUCE
1. Allow all emails to be delivered to IMAP inbox
2. Select all in Inbox (includes already read)
3. Click Apply All Filters

OBSERVED RESULT
Emails all go to correct folders but inbox is left with a false unread count of random value although there are no unread emails there. You can close kmail and relaunch and most times the false Unread count is still there.


EXPECTED RESULT
No unread count on Inbox after successful filter.

SOFTWARE/OS VERSIONS
opensuse:tumbleweed:20190517
Qt: 5.12.3 KDE Frameworks: 5.57.0 - KDE Plasma:  5.15.5 - kwin 5.15.5
kmail2 5.11.1 - akonadiserver 5.11.1 - Kernel:  5.1.2-1-default  - xf86-video-nouveau:  1.0.15

ADDITIONAL INFORMATION
As a note, occasionally after a successful filter, kmail can crash so it may be related to the end of filter process this strange Unread count