Bug 196993 - Speed up dimap accounts by only checking folders which have been changed locally or are marked as "inbox"
Summary: Speed up dimap accounts by only checking folders which have been changed loca...
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: disconnected IMAP (show other bugs)
Version: 1.11.90
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 201066 218445 243420 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-18 12:02 UTC by Gandalf Lechner
Modified: 2012-08-19 00:12 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gandalf Lechner 2009-06-18 12:02:36 UTC
Version:           1.11.90 (using 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2)), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.28-13-generic

Checking for new mail / uploading changes made locally can be very slow using a disconnected imap account with many folders. I think is due to the fact that kontact compares for _all_ folders the local version and the version on the server; so if there are many folders, this can take quite some time. 

However, in many situations, this seems not to be necessary. In my use case, which I believe is a common one, I only have a very small number of folders which are inboxes, i.e. actually receive mails. So when checking for new mail it would be sufficient to look only in these folders and in all folders which have been changed locally since startup. That is, each folder in which a message was added/deleted/changed could be marked as "changed" and added to a list of folders to be updated on the server when the users hits Ctrl+L.

When accessing the account from different machines, it would still be necessary to check all folders at startup, since they might have changed in interaction with a second computer. Or is there a way to store a "changed" tag for folders on the server? Anyway, this overall check would be necessary only once, in all subsequent comparisons it would be sufficient to check only inboxes and folders changed locally.

I believe this would speed up using dimap a lot.
Comment 1 Frank Niethardt 2009-06-19 16:04:12 UTC
Should be a wish, shouldn't it?

Personally I happen to use server side filtering, so all my folders will change any time without using kmail. So this would be the wrong thing for me. 

But maybe it could be implemented as an optional feature per account?
Comment 2 Antaniker 2009-12-05 22:11:46 UTC
yes i agree,
it would be a real spead up or a efficient way to update only the inbox.
why diff all the other folders several times, over and over
add a checkbox / or a folder list for updating
Comment 3 Björn Ruberg 2010-03-02 00:12:54 UTC
*** Bug 201066 has been marked as a duplicate of this bug. ***
Comment 4 Björn Ruberg 2010-03-08 00:29:06 UTC
*** Bug 218445 has been marked as a duplicate of this bug. ***
Comment 5 Björn Ruberg 2010-08-07 18:40:04 UTC
*** Bug 243420 has been marked as a duplicate of this bug. ***
Comment 6 Myriam Schweingruber 2012-08-18 08:17:37 UTC
Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented.
Thank you for your understanding.
Comment 7 Luigi Toscano 2012-08-19 00:12:08 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.