Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
'Download/Sync Now' behaviour
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Gerry  
View profile  
 More options Nov 21 2008, 1:49 am
Newsgroups: mozilla.dev.apps.thunderbird
From: Gerry <nickel_chr...@mac.com>
Date: Fri, 21 Nov 2008 12:34:54 +0545
Local: Fri, Nov 21 2008 1:49 am
Subject: 'Download/Sync Now' behaviour
The strategies of AutoSync provide a great deal of flexibility in how
IMAP messages are downloaded. But there is no such capability with the
current implementation of "Download/Sync Now" leading to inconsistent
behaviour IMO.

The behaviour I want is that Thunderbird only downloads large IMAP
messages when they are specifically requested by the user, e.g. they are
selected for read or for download using 'Get Selected Messages' and 'Get
Starred Messages'. Using nsIAutoSyncMsgStrategy I can exclude messages
larger than 100KB being downloaded by AutoSync, but if I want to
manually sync using 'Download/Sync Now' I get the traditional offline
behaviour i.e. all messages in offline folders are downloaded.

I see a number of ways to implement the desired behaviour:

  1. Ideally modify nsImapOfflineDownloader/nsAutoSyncManager to run on
demand

  2. Modify nsImapMailFolder::GetBodysToDownload() to provide limited
support to strategies using nsIAutoSyncMsgStrategy::IsExcluded()

  3. Least desirable modify nsImapMailFolder::DownloadAllForOffline() to
use nsIAutoSyncState::ProcessExistingHeaders(). But how would you know
when it has finished?

Thoughts?

The background for this is that I am currently living in Nepal and I am
trying to write an extension for use in low bandwidth conditions.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »