Open Bug 1416685 Opened 7 years ago Updated 2 years ago

Tab title and message is not corresponding, when there are many messages pending to download

Categories

(Thunderbird :: Message Reader UI, defect)

52 Branch
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: kylelsun, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [dupme][has str])

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Steps to reproduce:

1. Add a new mail account
2. Open one folder and download all headers in it
3. Switch to another folder containing a lot of messages, when it is downloading all headers, click to open one message (B) so it will be downloaded
4. Switch back to the first folder, double click to open one message (A) in a new tab


Actual results:

The message A is loaded in the new tab, then it is refreshed and message B is loaded. The tab title is still message A's title, but the message content is from B.


Expected results:

Only message A is loaded, and message B should not refresh it.
Can that be reproduced without adding a new e-mail account to TB?
(In reply to Jorg K (GMT+1) [currently bustage-fix only, no NI? or r?] from comment #1)
> Can that be reproduced without adding a new e-mail account to TB?

kyle we need your feedback
Flags: needinfo?(kylelsun)
Whiteboard: [closeme 2017-12-10]
(In reply to Wayne Mery (:wsmwk) from comment #2)
> (In reply to Jorg K (GMT+1) [currently bustage-fix only, no NI? or r?] from
> comment #1)
> > Can that be reproduced without adding a new e-mail account to TB?
> 
> kyle we need your feedback



Sorry for being away for a while.

It can be reproduced without adding a new mail to TB, but it would be easier to be reproduced with a new account and many mails. 

The thing that matters is when there are a lot of messages pending to download, switch to a message already downloaded in another folder (maybe not necessary in another folder). While the tab title and content showing the already downloaded message, some moment later only the content will be replaced by the pending one. The tab title and content is not the same message, and this can be quite confusing. 

I think the downloading and displaying procedure could be redesigned. When the messages are pending to download, the user may want to switch to check some already downloaded messages. The downloading process could continue in the background, but it should not replace the current one that's showing. 

In the code, maybe the callback function to display the message can choose not to fire, if another message is selected after this pending one.
Flags: needinfo?(kylelsun)
Do you have many message filters?
Flags: needinfo?(kylelsun)
Summary: Tab title and message is not corresponding → Tab title and message is not corresponding, when there are many messages pending to download
Whiteboard: [closeme 2017-12-10]
(In reply to Wayne Mery (:wsmwk) from comment #4)
> Do you have many message filters?

No, it is just an ordinary mail account with large amount of mails.
Flags: needinfo?(kylelsun)
(presume you are using version 52)
Whiteboard: [dupme][has str]
Version: 5.0 → 52 Branch
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.