imap update mail count error



MailNews Core
Networking: IMAP
7 years ago
7 years ago


(Reporter: luis.arfsimoes, Unassigned)


1.9.2 Branch
Windows 7

Firefox Tracking Flags

(Not tracked)




(1 attachment)



7 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv: Gecko/20101027 Thunderbird/3.1.6

see picture 

Reproducible: Always

Steps to Reproduce:
1.sync imap mail with lots of mails

Actual Results:  
the mail count will make no sense.

Expected Results:  
mail count should be correct

Comment 1

7 years ago
Created attachment 496202 [details]
incorrect imap mail count
> Downloading 911 of 909 in Inbox

Both count itself is accurate.
  909  =  number of new mails when auto-sync was invoked
  911  =  number of mails successfully downloaded
        + number of interrupted downloading of a mail or mails
        + 1
This phenomenon is easily observed by clicking a new mail at thread pane which is not downloaded yet while auto-sync is downloading new mails, although phenomenon is not always re-produced by such operation. 
Auto-sync issues "uid X fetch body.peek[]" or "uid A:B,C,D,...,X:Y fetch body.peek[]" at a connection where Inbox is selected. 
If you click a new mail which is not downloaded yet, UI of Tb hi-jacks the connection and fetches the clicked new mail in order to show the clicked mail immediately to you. It interrupts auto-sync's downloading.
No message around such interruption in Activity Manager window? 

NN of 'Downloading NN' should be "number of successfully downloaded mails" plus one. The phenomenon may be reported already in other bug or as a new bug.
Ever confirmed: true
Component: Mail Window Front End → Networking: IMAP
Product: Thunderbird → MailNews Core
QA Contact: front-end → networking.imap
Version: unspecified → 1.9.2 Branch
You need to log in before you can comment on or make changes to this bug.