MozillaZine

Talk:Profile folder - Thunderbird

From MozillaZine Knowledge Base

What exactly does "Playback information for offline operations and incomplete online operations. " mean?

I did a search for "Thunderbird playback" and the best match I found was http://sicakborek.wordpress.com/2008/06/02/better-faster-imap-in-thunderbird-part-i/ . That implies its a internal mechanism used to fetch and display messages from a offline folder. Its not clear to me how a index file provides that information, or what you mean by incomplete online operations? Are you talking about messages queued in the outbox?

I'm used to thinking of the .msf file as a cache of the folder listing (that could also store tags if a IMAP folder didn't support them), that in 3.0 has started to be used to also store some other folder attributes. See http://forums.mozillazine.org/viewtopic.php?p=8461155#p8461155 Tanstaafl 01:46, 19 March 2010 (UTC)

When Thunderbird is offline, the actions taken on messages are stored in .msf, and when thunderbird goes back online, those deferred actions are synced to the server. Likewise, while online my understanding is if a drag and drop copy doesn't complete to the end, (eg if thunderbird crashes) it is possible for the operation to continue processing on next startup of thunderbird. Wsm 02:36, 19 March 2010 (UTC)
Thanks. Is there any sort of design document available that provides more information? I found http://mxr.mozilla.org/comm-central/source/mailnews/base/public/nsIMsgFolder.idl which makes me suspect I need to start by browsing all functions that support nsiMsgRetentionSettings but I could spend many hours trying to find the information the hard way. I've looked at https://developer.mozilla.org/en/Thunderbird/Thunderbird_API_documentation to see if it provided a better starting point but most of it hasn't been updated since 2002 and doesn't seem to cover message processing/storage.
The reason I want to know is not just idle curiosity, I suspect that information might make it easier to help troubleshoot problems, and I'd like to document it. Tanstaafl 05:19, 19 March 2010 (UTC)
Can't say that I know any great references. Some code links http://mxr.mozilla.org/comm-central/source/mailnews/imap/src/nsImapOfflineSync.cpp#143 http://mxr.mozilla.org/comm-central/source/mailnews/imap/src/nsImapService.cpp#3245 http://mxr.mozilla.org/comm-central/source/mailnews/imap/public/nsIMsgImapMailFolder.idl http://mxr.mozilla.org/comm-central/source/mailnews/base/src/nsMsgOfflineManager.cpp#198 Wsm 10:47, 19 March 2010 (UTC)