Bug 2119 - "Check for new folders" on remote mailboxes is very slow
Summary: "Check for new folders" on remote mailboxes is very slow
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Folders/IMAP (show other bugs)
Version: 3.7.4
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2010-02-16 23:18 UTC by Keith Edmunds
Modified: 2014-05-22 21:44 UTC (History)
2 users (show)

See Also:


Attachments

Description Keith Edmunds 2010-02-16 23:18:00 UTC
The menu item "Check for new folders" seems to not only do what the name implies, but also to open every folder within that account in turn and do something (update local cache? I'm not sure). The end result is that running "Check for new folders" on a remote IMAP account results in the folder list being updated relatively quickly, and then a long, long time waiting for CM to finish checking each remote folder.

Unless I've misunderstood something, I believe CM should only update the folder list, then pass control back to the user.
Comment 1 users 2014-04-30 21:38:03 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

++ ChangeLog	2014-04-30 21:38:03.092970064 +0200
http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=f811376fe220c50dc06ae1e7ae4962ce5994b4f8
Merge: 59aba43 88cf83b
Author: Colin Leroy <colin@colino.net>
Date:   Wed Apr 30 21:38:02 2014 +0200

    Merge branch 'master' of file:///home/git/claws

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=88cf83bf73b794dd4e65888a845e87b1dd6ede90
Author: Colin Leroy <colin@colino.net>
Date:   Wed Apr 30 21:34:53 2014 +0200

    Remove the copy-paste that was folder[view]_fast_scan_tree, and
    instead fix folder_scan_tree to do the right thing when called
    in "Check for new folders" mode: Don't rescan the contents of
    all folders after having updated the list of folders. There's
    "Check for new messages" for that.
    Fixes bug #2119, "Check for new folders on remote mailboxes
    is very slow".

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=fc74130e7290940b8128cd086d342b7c57144263
Author: Colin Leroy <colin@colino.net>
Date:   Wed Apr 30 20:35:47 2014 +0200

    Don't save libravatarr avatars to addressbook

Note You need to log in before you can comment on or make changes to this bug.