Unread message badge on taskbar icon does not go away when message has been read
Categories
(Thunderbird :: Mail Window Front End, defect, P3)
Tracking
(thunderbird_esr115 fixed, thunderbird118 fixed)
People
(Reporter: todor, Assigned: mkmelin)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr115+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr115+
|
Details | Review |
Steps to reproduce:
- Add same IMAP account to Thunderbird (on windows) and to smartphone (android in my case).
- Receive email on that account. Wait for notification on both Thunderbird and smartphone.
- Read or delete the email on the smart phone. Wait some time to sync the changes.
Actual results:
- Notification dot on Thunderbirds icon in tray bar is still there and will not disappear until I open Thunderbird and go over the email address (which appears as bold). Then the notification disappears and the mailbox is not bold any more.
Expected results:
Notification for new email on Thunderbird should disappear once it sync the mailbox content without needing me to open it and click over the mailbox.
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 5•2 years ago
|
||
Is bug 1801078 a duplicate?
Comment 6•2 years ago
•
|
||
Other bug reports https://mzl.la/3X2zEPS
Comment 7•2 years ago
|
||
Better query https://mzl.la/3J7g5As - but these are not all about the dot.
Updated•2 years ago
|
I have the same problem on 115.0, even if I read the message on TB, but the icon stays as if the new message is not read.
When selecting the same or another folder, the icon goes back to normal.
Comment 10•2 years ago
|
||
More duplicates: Bug 1843837, bug 1843766 and bug 1843734. There's a suggestion in bug 1843734 comment #3.
Comment 11•2 years ago
|
||
(In reply to Celso from comment #9)
I have the same problem on 115.0, even if I read the message on TB, but the icon stays as if the new message is not read.
When selecting the same or another folder, the icon goes back to normal.
I had this before and still have it after upgrading to 115. Also, requires changing folder to clear the badge count.
Comment 20•1 year ago
|
||
For me, this used to work on 102 (Win10) but started to behave as described here after the update to 115.
Comment 21•1 year ago
|
||
This bug is different to the one I submitted a couple of years ago. (With which it has been merged.)
The steps required to reproduce are quite different.
My report was about folders within a single account not being handled correctly (as, it appears, were several others that have been incorrectly merged with this). It has also existed for many years and has nothing to do with W10/W11.
It seems that bugs are being merged without the person merging properly understanding their nature.
Comment 22•1 year ago
|
||
Oh, you're actually right. I went here from https://bugzilla.mozilla.org/show_bug.cgi?id=1849620 with the idea of not commenting on a dupe, but reading your STR once more carefully, I agree those two are actually different bugs (with similar manifestation).
@john.guitarman could you please remove the dupe status of https://bugzilla.mozilla.org/show_bug.cgi?id=1849620 ?
Assignee | ||
Comment 23•1 year ago
|
||
No silver bullet, but I think time of initialization may be somewhat incorrect so the code gets confused.
Modernize NewMailNotificationService.
Some changes insipired by https://github.com/Betterbird/thunderbird-patches/blob/main/115/features/02b-feature-Windows-systray-tooltip.patch
Comment 24•1 year ago
|
||
Please correct this hunk:
if (this.countNew) {
this.initUnreadCount();
}
It needs to be if (!this.countNew) {
, see
https://github.com/Betterbird/thunderbird-patches/blob/8b2cf4bc70910088a8dac6d9c3a8377b59ed9f5a/115/features/02b-feature-Windows-systray-tooltip.patch#L117
The logic is: If we're counting new messages, we don't need to traverse all folders and count unread messages. Since counting new message is the default on Windows and Linux, that's a definite startup performance improvement.
Comment 25•1 year ago
|
||
Equally, this hunk needs fixing: if (subject == "profile-before-change") {
- it should be topic
like it was before.
Assignee | ||
Comment 26•1 year ago
|
||
So this patch will probably fix some cases but unclear if all.
Maybe easiest still to close this bug now and continue in one of the other see also bugs if needed,
Comment 27•1 year ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/28a5389aa264
Initialize MailNotificationManager before getting mail. r=leftmostcat
Assignee | ||
Comment 28•1 year ago
|
||
Comment hidden (Intermittent Failures Robot) |
Comment 30•1 year ago
|
||
Comment 31•1 year ago
|
||
Ready for beta?
Assignee | ||
Comment 32•1 year ago
|
||
Comment on attachment 9350798 [details]
Bug 1824889 - Initialize MailNotificationManager before getting mail. r=leftmostcat
[Approval Request Comment]
Regression caused by (bug #): unknown
User impact if declined: could help with buggy mail notification behavior
Testing completed (on c-c, etc.): daily
Risk to taking this patch (and alternatives if risky): fairly safe, but should get some baking
Comment 33•1 year ago
|
||
Comment on attachment 9350798 [details]
Bug 1824889 - Initialize MailNotificationManager before getting mail. r=leftmostcat
[Triage Comment]
Approved for beta
Comment 34•1 year ago
|
||
Comment on attachment 9352397 [details]
Bug 1824889 - follow-up, make unread setter available for tests. r=#thunderbird-reviewers
[Triage Comment]
Approved for beta
Updated•1 year ago
|
Comment 35•1 year ago
|
||
bugherder uplift |
Comment 36•1 year ago
|
||
Comment on attachment 9350798 [details]
Bug 1824889 - Initialize MailNotificationManager before getting mail. r=leftmostcat
[Triage Comment]
Approved for esr115
Comment 37•1 year ago
|
||
Comment on attachment 9352397 [details]
Bug 1824889 - follow-up, make unread setter available for tests. r=#thunderbird-reviewers
[Triage Comment]
Approved for esr115
Comment 38•1 year ago
|
||
bugherder uplift |
Description
•