(In reply to Nye Liu from comment #36)
> Would it be possible to at least add some sort of menu option next to "work 
> offline" ... like "force sync" or something?

A possible way.
- Install "Custom Buttons" addon, add your own Toolbar Button labeled "force 
sync".
- Put small JavaScript code like "click Work Offline, reply if required, wait 
for a while, click Work Online, reply if required".
  /*CODE*/
  // var MenuId="goOfflineMenuitem" ;  // Firefox
      var MenuId="goOfflineMenuItem" ;  // Thunderbird 
      var Menu=document.getElementById(MenuId) ;
      var Status=( "true" == Menu.getAttribute("checked")  ) ; // atribute 
value is String
      var OnCommand=Menu.getAttribute("oncommand") ;
      // oncommand="MailOfflineMgr.toggleOfflineStatus();"
      if( false == Status )
      {
          // go Work Offline
          eval(OnCommand);
          // do reply to dialog for download now,
          // go back Work Online, and do reply to dialog for send unsent 
messages
          // setTimeout(GoBackOnline,3*1000) ;
       }
      else if( true == Status )
      {
         // go back Work Online
         eval(OnCommand);
         // and do reply to dialog for send unsent messages
      }

This version doesn't do automatic reply to confirmtion dialog, doesn't do 
Toogle Back to Work Online mode.
So, you have to do: 1. Click the button, 2. No to dialog(download now), 3. 
click button, 4. Cancel to dialog(send unsent mail).
This is merely an example of your own pretty small Addon by your own ToolBar 
button.
id of menuitem, toolbarbutton , attributes of them etc. can be pretty easily 
known using DOM Inspector.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/603402

Title:
  Thunderbird incorrectly shows some Gmail archived messages as unread
  via IMAP

Status in Mozilla Thunderbird Mail and News:
  Confirmed
Status in “thunderbird” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: thunderbird

  Steps to reproduce:
  1) Wait for a few messages to arrive in Inbox, thus being marked as unread.
  2) Mark all of them as read, then archive them.
  3) Click on All Mail folder.

  Actual Results:
  Only one of recently archived messages is marked as read (usually the newest 
one), the rest must be marked as read again.

  Expected Results:
  All of recently marked as read in Inbox and archived mails should be marked 
as read in All Mail folder, too.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: thunderbird 3.0.5+build2+nobinonly-0ubuntu0.10.04.1
  ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
  Uname: Linux 2.6.32-23-generic x86_64
  NonfreeKernelModules: wl
  Architecture: amd64
  Date: Fri Jul  9 02:22:30 2010
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
  SourcePackage: thunderbird

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/603402/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to