On Friday, 10 January 2014 09:14:18 CEST, Tomasz Kalkosiński wrote:
Taskbar count is now implemented passive, so it doesn't trigger any
checks,
it just counts numbers that mailboxes already have.

If you're speaking about the code in current master, this is actually not true, at least in the way I understand this sentence. The systray code indeed doesn't actively go polling for new changes, but the mere fact that it asks for the number of unread mails *and* reacts to the appropriate signals makes sure that the number will always be updated. If you simply add more mailboxes to check, this will work in the same way -- and that's a good thing, IMHO.

Just wanted to prevent a possible misunderstanding.

To summarise:
- passive check as it is right now, no connection triggers and no changes
to current model,
- recursive check and match by mailbox name,
- opt-in with one default: INBOX,
- chosen folders are stored in configuration,
- in GUI, option on every folder to include it with taskbar count.

Looks great -- I'm looking forward to the patch.

What do you mean by "recursive check"? If there's mailbox "a" with children "a1" and "a2" and only "a" is checked, then my opinion is that "a1" and "a2" shall be both ignored.

When more servers support the METADATA extension, we might store the "check for new mail" settings on the server-side. That is, however, just some future work at this point.

Cheers,
Jan

--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/

Reply via email to