Activity Manager doesn't show "Get Messages" activity when no new mails found - when "Leave messages on server" is turned off
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(thunderbird_esr102+ fixed, thunderbird104 affected)
People
(Reporter: rho-bot, Assigned: rnons)
Details
Attachments
(4 files)
59.76 KB,
image/jpeg
|
Details | |
59.17 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
1.93 KB,
patch
|
wsmwk
:
approval-comm-esr102+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0
Steps to reproduce:
- Start Thunderbird
- Click "Get Messages" (if not configured as check on startup)
- Open Activity Manager window
Actual results:
Activity Manager window keeps empty.
No entries for general POP3 mailcheck if there are no new messages to DL.
In case there were new messages to DL, just sync-DL entry is shown.
Expected results:
I expected to see the entries for general POP3 mailcheck, like in TB91 and before.
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
This should have been fixed by bug 1777892, and released in TB 102.1.0. Can you check your version, and try again after upgrading? Thanks.
Issue present on TB 102.1.0/102.1.1/102.1.2
bug 1777892 fixed missing AM message, when pop3 messages download.
This Bug report is for missing entries in AM when pop3 check is performed without any new messages to download.
Assignee | ||
Comment 3•2 years ago
|
||
Well, it's the same thing, the code is at https://searchfox.org/comm-central/rev/30b643d4b2d25ac9d72567bc0af3f08177d2fd1d/mail/components/activity/modules/pop3Download.jsm#99,119
Can you set mail.activity.loglevel
to All
, search for onDownload
in Console , after click "Get Messages", do you see
mail.activity: in onDownloadStarted pop3Download.jsm:63:14
mail.activity: in onDownloadCompleted pop3Download.jsm:100:14
This is my current console output, no traces of onDownload in log...
But clicking "Get Messages", I can see the "xxx@xxx.xx: There are no new messages" in the bottom status bar of the main window.
Assignee | ||
Comment 5•2 years ago
|
||
I think I've found the problem, you have turned off "Leave messages on server", right? Pop3Client early returns if the total message number is 0 in STAT response, https://searchfox.org/comm-central/rev/4e7b7cdfaab079c4441c02e6a7c9405e86b6e6ec/mailnews/local/src/Pop3Client.jsm#869-870,886
Will make a fix soon, thanks.
Yep, "Leave messages on server" is turned off. Nice that you found the issue that quickly :)
Another short question, as I'm not sure on old behavior:
When sending emails, I also see smtp message in status bar, but no entry in AM. Intended, or maybe another bug?
Assignee | ||
Comment 7•2 years ago
|
||
I also see smtp message in status bar, but no entry in AM. Intended, or maybe another bug?
Please file another bug, it's also broken by me, I will take a look later. Thanks.
Updated•2 years ago
|
Assignee | ||
Comment 8•2 years ago
|
||
(In reply to Ping Chen (:rnons) from comment #7)
I also see smtp message in status bar, but no entry in AM. Intended, or maybe another bug?
Please file another bug, it's also broken by me, I will take a look later. Thanks.
Created new bug 1784173
Assignee | ||
Updated•2 years ago
|
Comment 10•2 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/cd45136da351
Notify activity manager when STAT returns 0 message in Pop3Client. r=mkmelin
Reporter | ||
Comment 11•2 years ago
|
||
@Magnus
Currently rolled out update to TB102.2.0 didn't solve the issue. Maybe PR was too late for production?
When / which version I can expect the merge/fix?
Unfortunately, I'm lost with above Tracking info...
Comment 12•2 years ago
|
||
Yes it's not yet on 102. Once it is, you'll see the thunderbird_esr102 flag above set to "fixed"
Assignee | ||
Comment 13•2 years ago
|
||
[Approval Request Comment]
Regression caused by (bug #): bug 1707548
User impact if declined: In some cases, "No messages to download" is not shown in the activity manager for pop3 servers
Testing completed (on c-c, etc.): beta
Risk to taking this patch (and alternatives if risky): low
Comment 14•2 years ago
|
||
Comment on attachment 9291888 [details] [diff] [review]
1783508-esr102.patch
[Triage Comment]
Approved for esr102
Comment 15•2 years ago
|
||
bugherder uplift |
Thunderbird 102.2.1:
https://hg.mozilla.org/releases/comm-esr102/rev/283e19065e4d
Description
•