Bug 286320 - Message status corrupted when jump to first unread set
Summary: Message status corrupted when jump to first unread set
Alias: None
Product: kmail2
Classification: Applications
Component: message list (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
: 294828 295225 (view as bug list)
Depends on:
Reported: 2011-11-11 08:04 UTC by Árpi
Modified: 2017-01-07 22:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Árpi 2011-11-11 08:04:39 UTC
Version:           4.7 (using KDE 4.7.2) 
OS:                Linux

If I set KMail to jump to the first unread message in a folder (Configure KMail->Misc->Folders->When entering a folder), and leave KMail in the Inbox (leave a message in the Inbox selected), when new messages are downloaded automatically, they are first jumped to, then marked read, and filters are only applied after that.
If messages are moved to another folder automatically (by filters), one will not notice new messages because of this behaviour.

Reproducible: Always

Steps to Reproduce:
Just set up some filters to sort messages into folders, leave a message in your Inbox selected, and wait for new mail (for which filter rules apply) to arrive.

Actual Results:  
Messages first marked read and then moved to the folder specified by the filter.

Expected Results:  
Messages should be moved to their place by the filter, but they should be left unread.
Comment 1 Laurent Montel 2011-11-11 10:37:28 UTC
WE improved a lot filter in 4.8
We can't backport to 4.7.x sorry
Comment 2 Árpi 2011-11-14 16:31:54 UTC
I think it is not a bug in the filtering part, but rather in the logic of folder handling: if a new message arrives, kmail should first call the filters, and then do whatever it does when new mail arrives.
Or even better: "when opening a folder, jump to the first unread message" should mean it jumps to the first unread message when the folder is opened, and not if it is already open, but new mail arrives into it.
Comment 3 Laurent Montel 2012-02-26 09:01:50 UTC
*** Bug 294828 has been marked as a duplicate of this bug. ***
Comment 4 Tony Eikelmann 2012-03-02 17:06:14 UTC
I dont think it is a bug in the filtering part. This will also happend when you are reading an e-mail as well. What is used is highlighting the e-mail and read it in the preview pan.

Comment 5 Laurent Montel 2012-03-02 17:28:52 UTC
*** Bug 295225 has been marked as a duplicate of this bug. ***
Comment 6 Denis Kurz 2016-09-24 18:17:23 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 7 Denis Kurz 2017-01-07 22:28:39 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.