[Users] [Bug 3462]=?UTF-8?Q?=20Speed=20up=20folder=20scanning=20with=20=C2=ABLSUB=20?="" "*" »

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Sun Jul 12 13:39:35 CEST 2015


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3462

--- Comment #1 from Tore Anderson <tore at fud.no> ---
Actually, I think the whole folder scanning and subscription logic could be
greatly improved. I suggest you consider an approach that does something like
the following:

1) Get the entire list of folders, using 'LIST "" "*"'
2) Get the entire list of subscribed folders, using 'LSUB "" "*"'
3) Walk through every folder in set #1, checking if each folder exists in set
#2

At this point you know the full folder list, as well as the
subscribed/unsubscribed state of each folder. These steps could be performed at
startup, and whenever the user requests to look for new folders.

Second, the interface for managing subscriptions could show a pop-up with the
merged set from #3 in a standard tree-like structure, and with a checkbox
beside each folder indicating its subscribed/unsubscrubed state as well as
allowing the user to easily toggle it.

This seems to be how most other MUAs does it, for what it's worth.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list