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 563947 - VFolder message counts go wrong and remain that way
VFolder message counts go wrong and remain that way
Status: RESOLVED DUPLICATE of bug 576430
Product: evolution
Classification: Applications
Component: Mailer
2.24.x (obsolete)
Other All
: Normal minor
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[disk-summary]
Depends on:
Blocks: 543389
 
 
Reported: 2008-12-10 07:27 UTC by Jonathan Briggs
Modified: 2009-06-20 14:53 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Jonathan Briggs 2008-12-10 07:27:30 UTC
Please describe the problem:
After reading email with Thunderbird at work and restarting Evolution at home, sometimes the vfolder message counts become wrong.  No idea what triggers that.  That is bug 1.  Bug 2 is that nothing updates those counts.  Evolution obviously knows the count because next unread does not go to any message and the message display shows no unread messages.

You would think that mark read could update the count to 0, etc.  But it does not.  Neither does folder refresh.

Steps to reproduce:
0. Set up an IMAP account.
1. Subscribe to LKML.
2. Create a vfolder for LKML.
3. Read it with Thunderbird.
4. Then read it with Evolution again.



Actual results:
At some point the unread summary will get way off.

Expected results:
I expect the summary to remain accurate forever, but if that fails (and it will!) then it should recover after a folder refresh or a mark all read operation.

Does this happen every time?
No, sometimes the folder summaries are ok.

Other information:
I have been manually fixing it when it really starts to annoy me by using the sqlite command-line tool on the folders.db.
Comment 1 Marcus Dillavou 2009-01-23 17:27:38 UTC
I also see this bug running 2.24.2 on ubuntu intrepid.  I too have been able to reset the counts by using sqlite to update the folders.db.  This has become very inconvenient since I use vfolders exclusively. I did not come across this bug when running the default evolution on ubuntu hardy.
Comment 2 Joshua Rosen 2009-02-15 23:37:46 UTC
I'm seeing a similar problem on Fedora 10. Virtual Folders indicate that they have unread messages but there are no unread messages in a the folder. There are also cases where the unread message count is inconsistent between multiple folders where one virtual folder will indicate that there are unread messages and the general Unread mail folder has none.

If I open Evolution in F10 on a .evolution directory that came from an F9 system then the Virtual Folders will indicate thousands of unread messages. If I exit out and restart Evolution then this problem will be cleared up.
Comment 3 Srinivasa Ragavan 2009-06-20 14:53:29 UTC

*** This bug has been marked as a duplicate of 576430 ***