After doing a search, the search folder is set to contain unread mails, even though it does not (nessecarily). The messages in there can not be set to read, since they already are, and folder->mark all messages as read have no effect. When navigating using the "+" shortcut to go to next unread message, the search folder is then always visited, even though there are no unread messages in it.
There is a possible relation with bug 302546.
Steps to Reproduce:
1. do a search
search folder wrongly appears to have #results unread messages
search folder should have a true number of read messages
Git commit 16951119eb0914c4869fdc8bb4b2339bea4241ab by Dan Vrátil.
Committed on 21/12/2012 at 17:14.
Pushed by dvratil into branch 'master'.
Correctly count items flags in virtual collections
Related: bug 274936
M +7 -1 server/src/handlerhelper.cpp