Bug 335242 - Marking Unread msgs from multiple folders as read is only processed for one folder
Summary: Marking Unread msgs from multiple folders as read is only processed for one f...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: 4.13.1
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-23 13:53 UTC by Blackpaw
Modified: 2017-01-07 21:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Blackpaw 2014-05-23 13:53:02 UTC
I have a Saved Search folder that filters on unread messages (Message Status = Unread). Often there will be unread messages from multiple folders in that one search folder.

If I do a "Mark All Read" on the unread search folder, it marks all the messages as read in the search folder.

*But* For all the actual folders where the unread msgs are, only one folder will have its unread count cleared (it always seems to be the first folder in the tree).

Initially, for the folders which are displaying an unread count, the messages actually display as read - hence the count would appear to be inaccurate. 

Soon though (next sync?) the messages will revert to showing an unread status and *can't* be marked read.

Restarting kontact does not resolve the problem, but eventually it resolves itself - next sync maybe?

Reproducible: Always

Steps to Reproduce:
1. Create a saved search folder that displays all unread messages (Status = Unread)
2. Wait for multiple unread messages to appear, from multiple folders
3. Using the saved search folder, mark all messages read
Actual Results:  
- Only the first unread folder has it unread count set to 0

- the other unread folders will initially have no unread messages, despite displaying an unread count

- Eventually the msgs will revert to an unread state and can't be marked unread

Expected Results:  
All messages should be marked read
All folder unread counts should be set to 0

Rather than waiting for new msgs to arrive you can just mark message unread for testing
Comment 1 Denis Kurz 2016-09-24 18:24:01 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 2 Denis Kurz 2017-01-07 21:56:53 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.