Want notification for newly-arriving mail even if other mail still 'new'
Categories
(MailNews Core :: Backend, enhancement)
Tracking
(thunderbird_esr78 wontfix, thunderbird87 fixed)
People
(Reporter: mcow, Assigned: rnons)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
|
Details | Review |
Reporter | ||
Comment 2•22 years ago
|
||
Reporter | ||
Comment 3•22 years ago
|
||
Reporter | ||
Comment 4•22 years ago
|
||
Reporter | ||
Comment 5•21 years ago
|
||
Reporter | ||
Comment 6•21 years ago
|
||
Comment 7•21 years ago
|
||
Updated•21 years ago
|
Updated•20 years ago
|
Comment 8•18 years ago
|
||
Comment 10•17 years ago
|
||
Comment 11•17 years ago
|
||
Reporter | ||
Comment 12•17 years ago
|
||
Comment 13•17 years ago
|
||
Updated•16 years ago
|
Comment 15•13 years ago
|
||
Updated•9 years ago
|
Comment 17•9 years ago
|
||
Comment 18•4 years ago
|
||
I'm not sure which bug I wrote it in - it's a cluster of them - but I think the essence of how to keep track of what to notify about is this: keep track of the timestamp of the last (newest) message we notified about. For further notifications, ignore older than that.
Comment 19•4 years ago
•
|
||
If it's true (as this bug suggests) that we don't even trigger the notification every time new mail arrives (and it's not a settings issue) as long as other brand-new (never-touched, yellow star) messages are still around, we should be careful about "fixing" that. For high-frequency accounts, getting alerts every second might be extremely annoying, and reducing the "get messages" interval may not be feasible. For such scenarios, I believe we would need something like:
- Bug 443749 - Implement option to delay Biff notification to a given interval, fixed times, or idle to reduce disturbance e.g. while working
That said, I'm not sure if we're really skipping biffs (this bug 210148), and I'd think I've seen biffs in spite of new and never touched messages. We definitely have a problem about showing the right (newest) thing on the biff notification (bug 375717), which imho is the biggest annoyance.
Assignee | ||
Comment 20•4 years ago
|
||
Previously when biff icon is visible, there is no notification for newly received messages.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 21•4 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/e417f7ae0a0c
Fix new message notification on Windows. r=mkmelin
Assignee | ||
Comment 22•4 years ago
|
||
Comment on attachment 9204747 [details]
Bug 210148 - Fix new message notification on Windows. r=mkmelin
[Approval Request Comment]
Regression caused by (bug #): Implemented like this years ago.
User impact if declined: When there are NEW mails in any folder, notification window never shows up again on receiving a new mail
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): Impacts windows notification only.
Comment 24•4 years ago
|
||
Comment on attachment 9204747 [details]
Bug 210148 - Fix new message notification on Windows. r=mkmelin
[Triage Comment]
approved for beta
Did you file the follow up bug about system alerts?
Assignee | ||
Comment 25•4 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #24)
Did you file the follow up bug about system alerts?
Working on it in bug 715799. The three platforms will share the same code, to try using system alerts first, then fallback to TB customized alert window.
Comment 26•4 years ago
|
||
bugherder uplift |
Thunderbird 87.0b2:
https://hg.mozilla.org/releases/comm-beta/rev/00d81b65ff8b
Updated•4 years ago
|
Comment 28•4 years ago
|
||
I can confirm that this bug has been fixed. The notifications now works as usual.
However, the sound for new emails still only plays once. If this is a new bug, I'm happy to open a new one for it.
Comment 29•4 years ago
|
||
Comment on attachment 9204747 [details]
Bug 210148 - Fix new message notification on Windows. r=mkmelin
[Triage Comment]
Approved for esr78
This would be a good one to test
Comment 30•4 years ago
|
||
bugherder uplift |
Thunderbird 78.8.1:
https://hg.mozilla.org/releases/comm-esr78/rev/319196c5e666
Comment 31•4 years ago
|
||
"However, the sound for new emails still only plays once. If this is a new bug, I'm happy to open a new one for it."
It was the initial aim of this bug!
Comment 32•4 years ago
|
||
(In reply to Stéphane Ascoët from comment #31)
"However, the sound for new emails still only plays once. If this is a new bug, I'm happy to open a new one for it."
It was the initial aim of this bug!
I see the notification, but don't hear the sound when receiving a second message using the 78.8.1 release candidate on Windows 10.
Sent 2 messages one after the other to my Gmail IMAP account with "Allow immediate server notifications" enabled, from my Comcast POP3 account.
Received the sound notification for the first message, but not the second message but did see the notification popup.
Sent a reply to my Comcast account from one of those messages, received the message, got the notification popup, but no sound alert.
The envelope in the "Show hidden icons" of the Windows task bar shows 1 new Gmail and 1 new Comcast message.
Comment 33•4 years ago
|
||
Same here.
Assignee | ||
Comment 34•4 years ago
|
||
Sorry, I didn't notice the sound problem. The notification code is being rewritten in bug 715799, I will try to fix it there.
Comment 35•4 years ago
|
||
Something is wrong here: Ever since I updated to 78.8.1 I see a new message notification that spans the height of the entire screen. Basically it notifies lots of feed articles which I don't care about. Wasn't the number of notified messages limited to 6 or 8?
I suggest your remove this from the next ESR until it's fixed for real. Like this, the notifications are really overwhelming.
Comment 36•4 years ago
|
||
(In reply to Klaus B. from comment #35)
...
I suggest your remove this from the next ESR until it's fixed for real. Like this, the notifications are really overwhelming.
Or just move on and fix it. Where is your bug report?
Comment 37•4 years ago
|
||
Well, a backout is quicker than filing a new bug and running it through Daily and beta. The issue here could just be that you "forgot" to backport bug 375717 and now you get never before seen amounts of "not new" (just unread) e-mail notified. I've NI'ed the developer and reviewer, surely they can take the appropriate steps, including filing a new bug if necessary with in-depth insight into the matter. I'll attach a screenshot when it happens again.
Comment 38•4 years ago
|
||
No one forgot to take bug 375717. As can be seen by the comment history there it was a conscious decision. The ramifications of that decision didn't include what you describe in comment 35.
I don't see us doing a special build to back this out. We just land the patch from bug 375717 for 78.9.0, as was planned.
Comment 39•4 years ago
|
||
Filed bug 1697882. I don't think it will be fixed by the uplift of bug 375717. The patch here exposed some unwanted behaviour and IMHO should be removed from ESR again in the next build.
Assignee | ||
Comment 40•4 years ago
|
||
Sent a patch to bug 1697882, I don't think it's regressed by this bug though.
Comment 41•4 years ago
|
||
Looks like the feed notification has always been broken. That it shows so prominently now was regressed by this bug, I believe, before it just wouldn't have been shown at all.
Comment 42•4 years ago
|
||
I agree it probably makes most sense to back out this one from 78, since it's an ancient bug. Yes, it doesn't seem like it regressed the behavior per se, just exposed other bugs further. We can then focus on gettin all the behaviors right for 91.
Comment 43•4 years ago
|
||
OTOH, at 50% uptake of 78.8.1, the low level of reports in support (one so far) and bugzilla that the "regression" suggests extremely few users are affected and I would judge the overall change is positive. (I tested myself on windows and my alerts are less than 1/4 screen)
I think we should leave it in place for now and see how bug 375717 helps. Or try a 78 adjustment to feed notifications that doesn't involve UI exposed prefs.
Comment 44•4 years ago
|
||
Bug 375717 won't help since the feed messages are new and would always be notified. That bug only stops notifications for old unread messages.
Assignee | ||
Comment 45•4 years ago
|
||
Maybe we should backout this from esr78, since people rely on the old behavior and bug 261841 can't be fixed soon.
Comment 46•4 years ago
|
||
(In reply to Ping Chen (:rnons) from comment #45)
Maybe we should backout this from esr78, since people rely on the old behavior and bug 261841 can't be fixed soon.
There are definitely reports other than this bug, but the numbers are underwhelming given ~7M users on 78.8.1 against a total of 6-7 reports (cited in bug 261841, though two unrelated as Klaus points out, plus one report in mozilla.support.thunderbird and maybe one in reddit). That said, it may be problematic if bug 261841 cannot be delivered in the v78 time frame. Up to you and the justdave to land the backout you decide that is best.
Comment 47•4 years ago
|
||
So... back it out, and tie it to the completion of bug 261841 for re-uplifting it? Since Wayne left it up to us, I'll take the decision of the patch author. (NI me again when you have a decision)
I'm on a Mac and have the sound disabled on my TB notifications so I don't really have a personal investment in how this behaves...
Assignee | ||
Comment 48•4 years ago
|
||
Let's back out it and focus on v91 as Magnus said in comment 42. Thanks.
Comment 49•4 years ago
|
||
Do we want it backed out of beta as well, or just ESR?
Comment 50•4 years ago
•
|
||
Backed out for ESR 78.9.0:
https://hg.mozilla.org/releases/comm-esr78/rev/fe1944116f1b14f637a1604c7ab04ca9cd6f8151
Comment 51•4 years ago
|
||
(In reply to Dave Miller [:justdave] (justdave@thunderbird.net) from comment #49)
Do we want it backed out of beta as well, or just ESR?
The last TB 87 beta has been shipped, that is beta 3, backing it out there now wouldn't make any difference. It will be in TB 88 beta 1 again in less than a week.
Assignee | ||
Comment 52•4 years ago
|
||
I tested 86.0b3 on Windows a bit, notification for feeds never show up, I think the getNumNewMessages
is broken for feed folders.
Comment 53•4 years ago
|
||
Comment on attachment 9204747 [details]
Bug 210148 - Fix new message notification on Windows. r=mkmelin
Unsetting flag since this was backed out.
Comment 54•4 years ago
|
||
let's also back this out in the next beta build (next week)
Assignee | ||
Comment 55•4 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #54)
let's also back this out in the next beta build (next week)
The trunk/beta is using a new JS implementation now, so this patch does not really exist in trunk/beta anymore.
If I had started directly with bug 715799, there won't be so much troubles. But I was new to the code, and was trying to get familiar with it by working on this first.
Comment 56•4 years ago
|
||
Thanks for clarifying
Updated•4 years ago
|
Description
•