Bug 385898

Summary: Notifications popping up for "read" mails
Product: [Applications] kmail2 Reporter: Konstantin Kharlamov <Hi-Angel>
Component: commands and actionsAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: montel
Priority: NOR    
Version: 5.6.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.0

Description Konstantin Kharlamov 2017-10-18 10:48:36 UTC
I did workaround filters not working for inbox¹ by configuring server-side filters. Now, the problem: every time a new mail appears, KMail pops up a notification even if the mail is marked as read (i.e. on the server).

Steps to reproduce:

1. Create a server-side filter that marks mails with "test" as a subject as "read"
2. Open KMail, and send yourself a mail with subject "test"
3. When you see the mail appeared in "inbox", wait for around 10-15 seconds for a notification.

What happens: a notification pops up about a new mail "test"
What should've happened: nothing. The mail is read, there's no need to notify about it.

P.S.: My KMail is actually 5.6.2, but latest version I am allowed to choose here is 5.6.0.

1: https://bugs.kde.org/show_bug.cgi?id=378231
Comment 1 Laurent Montel 2017-10-18 12:41:04 UTC
I confirm it as akonadi doesn't provide flags when it informs that there is new mail or mail moved...
We will investigate it