Bug 283484

Summary: KMail filters do not work on unread mails
Product: [Applications] kmail2 Reporter: Michael Zanetti <mzanetti>
Component: filteringAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: awendt, flightsim, guido, montel, russ
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Michael Zanetti 2011-10-06 18:27:18 UTC
Version:           4.7 (using KDE 4.7.1) 
OS:                Linux

Ever since I'm using KMail2 the mail filters do not work for unread mails. When new mails are incoming they are not filtered. With all those unread mails pressing Ctrl+A and Ctrl+J still does not filter them. Then, if I walk through all the mails and read them (mark them as read) pressing Ctrl+A and Ctrl+J filters them correctly.

Reproducible: Always

Steps to Reproduce:
Create some filters to move incoming mails to a different folder.

Actual Results:  
Incoming new mails are not filtered. After they are marked as read, applying the filters manually works.

Expected Results:  
Filters should also work for unread mails.
Comment 1 Michael Zanetti 2011-10-06 18:28:14 UTC
Btw. This happens also on KDE 4.7.2 but at the time of reporting the bug 4.7.2 was not yet in the list.
Comment 2 Micool 2011-11-21 18:22:08 UTC
same bug for me
Comment 3 Tobias Koenig 2012-02-11 23:58:25 UTC
Hej,

we did some rewrite of the mail filter stack lately. Can you retest with a current version, please?
Comment 4 Guido Schmidt 2012-04-04 21:25:26 UTC
@Tobias: I've just updated from latest 4.7.x to 4.8.2 (SUSE12.1-RPMs) and since then incoming filters do not work anymore, neither automatically nor by hand. Marking messages as read has no effect. So, whatever youv'e changed it made things worse, at least in my case.
Comment 5 Guido Schmidt 2012-04-04 21:43:02 UTC
Please ignore my last comment. I did not relogin after the update. Filtering is working as expected. Sorry for having bothered you.
Comment 6 Laurent Montel 2012-04-05 08:22:21 UTC
so I close it