The unread count
- From: Philip Van Hoof <spam pvanhoof be>
- To: tinymail-devel-list <tinymail-devel-list gnome org>
- Subject: The unread count
- Date: Tue, 08 May 2007 02:41:26 +0200
It looks like the unread count isn't always correct. For example after
IDLE events like EXPUNGE and EXISTS, the unread count isn't (correctly)
pushed to the observers of TnyFolder.
The total count seems to be correct, though (and that is strange,
because both are always both pushed to the observers, never alone).
Also at startup the unread count seems to be sticky to older values
(like the last time you "correctly" closed the folder, imo should an
incorrectly closed folder also be correctly synced to disk).
ps. The value at startup is stored in the store's summary file. This is
different from the folder's summary file: it's a summary about the
folders, whereas the folder's summary file is a summary about the
headers. The code in the IMAP provider for this, is ugly ...
--
Philip Van Hoof, software developer
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
http://www.pvanhoof.be/blog
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]