On Tuesday, 7 January 2014 13:48:05 CEST, Tomasz Kalkosiński wrote:
1. Include all folders recursively
2. But only subscribed folders
3. With an opt-out option possible on every folder

I think that would cover all your cases. Especially the one, when you can
still subscribe a folder without counting it and you can exclude counting
on each level of a tree. Excluded folders list would be kept in
configuration.

I much prefer the following options:

- just INBOX,
- all subscribed,
- folders explicitly marked by the user as to be included (i.e. opt-in)

The opt-out is problematic (i.e. I would have to check a ton of checkboxes) which I do not particularly like. It would also mean that the program has to list folders recursively ("perhaps there's something down there which the user wants to be included"), which is, again, expensive.

Regarding the "subscribed folders" -- Trojita currently doesn't support folder subcription queries on servers which don't offer LIST-EXTENDED (RFC 5258). Adding that means adding quite some IMAP-specific code (support for LSUB command & response). Patches welcome, but this is not exactly easy and might have funny consequences (LSUB returning something which LIST doesn't, etc). Of course, it's completely OK to only offer the "include all subscribed folders" checkbox if the server supports RFC 5258 -- that's how the subscriptions are handled now anyway.

Cheers,
Jan

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

Reply via email to