After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 557618 - Evolution search folder displays no messages but displays correct message count
Evolution search folder displays no messages but displays correct message count
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.24.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[disk-summary]
: 565097 (view as bug list)
Depends on:
Blocks: 543389
 
 
Reported: 2008-10-23 14:22 UTC by Sebastien Bacher
Modified: 2009-06-21 04:25 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Incorrect message count (237.20 KB, image/png)
2008-11-18 13:10 UTC, Iuri Diniz
Details
error unread messages count (198.82 KB, image/png)
2008-11-25 14:16 UTC, Luca Foppiano
Details

Description Sebastien Bacher 2008-10-23 14:22:47 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/285419

"Created a search folder with rule "Match all", set to track some local folders and some IMAP folders. When browsing the newly created search folder, the title bar displays the correct total count of messages, but where the list should be it says "There are no messages in this folder"."
Comment 1 Iuri Diniz 2008-10-31 19:38:08 UTC
In my case, evolution does not display the correct message count.

I've posted some screenshots in:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/285419

Comment 2 Srinivasa Ragavan 2008-11-18 04:13:05 UTC
Seb, vfolder of vfolder isn't supported. If the user has it, it won't be loaded. But counts are unrealiable in that case. So I suggest user to refactor the query to not to create a vfolder of a vfolder.
Comment 3 Iuri Diniz 2008-11-18 13:10:16 UTC
Created attachment 122938 [details]
Incorrect message count
Comment 4 Iuri Diniz 2008-11-18 13:12:32 UTC
Comment on attachment 122938 [details]
Incorrect message count

Ok, vfolder of vfolder is not supported, but doing this didn't work for me(see
screenshot)

PS: I think the title of this issue is wrong, in my case it would be:
"Evolution search folder displays displays incorrect message count"
Comment 5 Srinivasa Ragavan 2008-11-18 13:58:59 UTC
Im fixing the counts. There are always some loop holes that Im missing.  
Comment 6 Ramon Casha 2008-11-24 12:34:03 UTC
Same here: I have an "Unread messages" search folder on "all active remote folders" - the folder caption says I have a number of messages unread, whereas none of the folders have any messages.

On one occasion I even got a negative unread messages count!
Comment 7 Luca Foppiano 2008-11-25 14:16:40 UTC
Created attachment 123364 [details]
error unread messages count
Comment 8 Luca Foppiano 2008-11-25 14:17:50 UTC
I have a problem to negative unread message count. See the image above.

To fix it I go to virtual folders property, change the rule, click on ok, return to property, revert the rule as previous (to match correctly) and click ok....

Usually it works to fix it this problem...
Comment 9 Iuri Diniz 2008-11-25 15:29:23 UTC
(In reply to comment #8)
> I have a problem to negative unread message count. See the image above.
> 
> To fix it I go to virtual folders property, change the rule, click on ok,
> return to property, revert the rule as previous (to match correctly) and click
> ok....
> 
> Usually it works to fix it this problem...
> 

In my case the bug occurs again.

Comment 10 Luca Foppiano 2008-11-25 15:39:25 UTC
uhm, I wrongly believe this solves ths problem, but after restart evolution, the problem remains.
This problem is not deterministic, it can occur on any sometime on certain folders, sometimes on other...

Comment 11 Akhil Laddha 2008-12-31 11:21:48 UTC
*** Bug 565097 has been marked as a duplicate of this bug. ***
Comment 12 Matt McCutchen 2009-01-16 01:05:50 UTC
Some issues with incorrect unread counts are being addressed in bug 557348.
Comment 13 Srinivasa Ragavan 2009-01-29 16:39:58 UTC
Any one can confirm with 2.24.3 or latest stable? Lots of things fixed. Counts are re-done for vfolders, which it manually counts than the search for count.
Comment 14 Luca Foppiano 2009-01-29 17:12:33 UTC
I think count is now fixed with 2.24.3...
Comment 15 Iuri Diniz 2009-01-30 16:44:08 UTC
Seems fixed on  2.24.3 (ubuntu intrepid ibex)

Comment 16 Mike 2009-01-30 17:49:23 UTC
Incredible. Seems fixed here too.
Comment 17 Mike 2009-02-09 03:22:28 UTC
Well, it was fixed, but the problem is back as of today. Not sure what caused it to start, but my custom search folder has about 20 messages in it, and is reporting about 1,000. The unread count is correct for the moment though. 

Expunging seems to fix the problem.
Comment 18 Srinivasa Ragavan 2009-06-20 18:29:27 UTC
This should be fixed. Can you confirm and reopen, if you still see it. Thanks.
Comment 19 Mike 2009-06-21 04:25:44 UTC
Sorry, I'm not using Evolution anymore. Too many critical bugs kept crashing it and driving me nuts. Had to switch to T-bird.