Windows 10/11: Thunderbird should use the native notifications instead of its own (by default)
Categories
(Thunderbird :: OS Integration, enhancement, P2)
Tracking
(thunderbird_esr115 wontfix, thunderbird127 fixed)
People
(Reporter: eweitenberg, Assigned: aleca)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
30.28 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
|
Details | Review |
Comment 1•9 years ago
|
||
Comment 2•9 years ago
|
||
Comment 3•9 years ago
|
||
Comment 5•6 years ago
|
||
Comment 8•6 years ago
|
||
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
Comment 17•6 years ago
|
||
Comment 18•6 years ago
|
||
Comment 19•5 years ago
|
||
The existing "balloon" notifications also stick around forever in the Windows 10 notification bar (Win+A). It might not be possible to display notifications when Thunderbird is not running, but I agree that the existing notifications should integrate a bit better with the OS.
IMHO they should:
- Use the system style
- Open the related message by clicking on it
- Disappear when they become irrelevant (when the related message has been seen/read)
Comment 20•5 years ago
|
||
No program can do anything while it's not started. That's a fact for sure. All such notifications need some program to run. Skype is always active in the background (yet it fails to notify me for a while, but that's another topic). Settings isn't sending notifications, that's other parts of the system. Alarms is an UWP ("modern") app that has a different lifecycle than desktop apps. I know nothing about games and Word (6.0 to 2019) has never shown me any notification.
While I agree that browsers should be able to show push notifications while they're not running (they currently only do on mobile platforms, again different lifecycle with background services), I disagree that mail programs should do this. When I close Thunderbird, I want all server connections to be closed. With no server connection, no notifications could ever be triggered. So we need no background process for Thunderbird. Outlook doesn't do it either.
I'd be totally fine with notifications only showing while Tb is running. That's 99% of the time anyway. But it still doesn't use the Windows 10 platform that's been around for like 5 years. It still has its own clumsy thing that doesn't integrate visually and won't even notify every message but only one until you give Tb some attention. So I had to replace the whole thing by an extension (Mailbox Alert) and an external process (https://github.com/ygoe/NewMailNotification - not very reliable though). Thunderbird always needs so many user hacks to be useful. It feels like the Tb devs don't use it themselves or just don't care.
Comment 21•4 years ago
|
||
Is this change confirmed? According to this source https://www.onmsft.com/news/mozilla-thunderbird-to-get-windows-10-native-notifications it is coming, but I do not see it in Thunderbird 78. I agree that this would be very welcome.
Comment 22•4 years ago
|
||
(In reply to Richard Marti (:Paenglab) from comment #8)
You can try to set in Options > Advanced > Config Editor... the pref
mail.biff.show_balloon to true and mail.biff.show_alert to false. Then the
notification should open in the Windows notifications. But it can be that
you can't open TB through it by clicking the notification.
In conjunction with setting user_pref("alerts.useSystemBackend", true);
, this nearly makes it fully native. Unfortunate that clicking the notification cannot open the email (or Thunderbird at all), but this is definitely a huge help.
Comment 23•4 years ago
|
||
(In reply to xnaas from comment #22)
(In reply to Richard Marti (:Paenglab) from comment #8)
You can try to set in Options > Advanced > Config Editor... the pref
mail.biff.show_balloon to true and mail.biff.show_alert to false. Then the
notification should open in the Windows notifications. But it can be that
you can't open TB through it by clicking the notification.In conjunction with setting
user_pref("alerts.useSystemBackend", true);
, this nearly makes it fully native. Unfortunate that clicking the notification cannot open the email (or Thunderbird at all), but this is definitely a huge help.
Clicking the notification works for me (TB 78.2.2) in Windows 10 ver 2004, if I go into Windows settings for the Taskbar, under Messages click choose what Icons that is showed in Taskbar, and toggle Thunderbird to On (my was Off). Also the little TB envelope icon that just showed for a second before when a new mail arrives, stays in the Taskbar until the new mail is read.
Comment 24•4 years ago
|
||
(In reply to jorgenqv from comment #23)
(In reply to xnaas from comment #22)
(In reply to Richard Marti (:Paenglab) from comment #8)
You can try to set in Options > Advanced > Config Editor... the pref
mail.biff.show_balloon to true and mail.biff.show_alert to false. Then the
notification should open in the Windows notifications. But it can be that
you can't open TB through it by clicking the notification.In conjunction with setting
user_pref("alerts.useSystemBackend", true);
, this nearly makes it fully native. Unfortunate that clicking the notification cannot open the email (or Thunderbird at all), but this is definitely a huge help.Clicking the notification works for me (TB 78.2.2) in Windows 10 ver 2004, if I go into Windows settings for the Taskbar, under Messages click choose what Icons that is showed in Taskbar, and toggle Thunderbird to On (my was Off). Also the little TB envelope icon that just showed for a second before when a new mail arrives, stays in the Taskbar until the new mail is read.
Oh, and I of corse need to set mail.biff.show_balloon to true, mail.biff.show_alert to false and alerts.useSystemBackend to true in TB Options, Advanced, and Cofig Editor. Thank you! :)
Comment 25•4 years ago
|
||
(In reply to xnaas from comment #22)
(In reply to Richard Marti (:Paenglab) from comment #8)
You can try to set in Options > Advanced > Config Editor... the pref
mail.biff.show_balloon to true and mail.biff.show_alert to false. Then the
notification should open in the Windows notifications. But it can be that
you can't open TB through it by clicking the notification.In conjunction with setting
user_pref("alerts.useSystemBackend", true);
, this nearly makes it fully native. Unfortunate that clicking the notification cannot open the email (or Thunderbird at all), but this is definitely a huge help.
Just tried this then signed up to say thank you, the confirmation email for this sites account worked perfectly with the native notifications, even clicking the notification opened up thunderbird, this is the only thing I feel thenderbird has been missing, I can't work out why, if the options are there in the guts of the program, why they can't just put the option to choose tTB notifications or Win10 notis, I'm not a programmer but surely it'd be easy to implement in the options?
Thanks for the workaround guys!!
Comment 26•4 years ago
|
||
(In reply to jorgenqv from comment #23)
(In reply to xnaas from comment #22)
(In reply to Richard Marti (:Paenglab) from comment #8)
You can try to set in Options > Advanced > Config Editor... the pref
mail.biff.show_balloon to true and mail.biff.show_alert to false. Then the
notification should open in the Windows notifications. But it can be that
you can't open TB through it by clicking the notification.In conjunction with setting
user_pref("alerts.useSystemBackend", true);
, this nearly makes it fully native. Unfortunate that clicking the notification cannot open the email (or Thunderbird at all), but this is definitely a huge help.Clicking the notification works for me (TB 78.2.2) in Windows 10 ver 2004, if I go into Windows settings for the Taskbar, under Messages click choose what Icons that is showed in Taskbar, and toggle Thunderbird to On (my was Off). Also the little TB envelope icon that just showed for a second before when a new mail arrives, stays in the Taskbar until the new mail is read.
It seems it only half works, if you click the banner notification as it pops up on screen it'll open up tb, but it wont open up tb if clicking the notifications in the action centre, maybe that's why they haven't turned the feature on, but for me it's still better than nothing and is a major step in the right direction
Comment 27•4 years ago
•
|
||
Please make this an option, but never as default.
I do not want to use the Windows 10 Notification - I do not want more things I have to stop Windows from interfering.
It should not be set as default, but allow users to setup as they prefer.
I prefer anything to do with Thunderbird to kept within Thunderbird and that includes Updates and Notifications.
Comment 28•4 years ago
|
||
I vote also for a full implementation of the Windows 10 notification by default. The notification area is the Windows 10 standard for all notifications. For people don't want to use it, Windows has an option that lets the user manage the notification of all applications easily.
Thunderbird 78.5.1 x64 run under Windows 10 Pro v20H2 and the Windows 10 notification is not currently fully functional. When I receive an email, if I click on the notification, Thunderbird main window show up, but doesn't open the email.
Comment 29•4 years ago
|
||
Yes, please implement it and put into the Thunderbird Options. Currently I have to use the Windows 10 Mail app for notifications because of this issue.
Comment 30•4 years ago
|
||
(In reply to jorgenqv from comment #24)
Thanks. It almost works, except of the the tray icon is still there. Any way to disable it other than to hide it in taskbar settings?
Comment 31•4 years ago
|
||
Unfortunately the current implementation (TB 78.6.0) is buggy. Using the settings above it shows the notification, but the tray icon as well.
If you disable the tray icon, no Windows 10 native notification is shown.
The notification sound is played regardless of the Windows 10 Focus Assist is set to Alarms Only or Off and if you disable the sound in Thunderbird Options, no sound in Windows 10 native notification at all, even in Focus Assist set Off.
Switching to Windows 10 Mail for notifications again, this is useless.
Comment 32•4 years ago
|
||
Fortunately, Thunderbird notifications works flawlessly. It is an option that has no issues. You do not have to let Windows do everything.
Comment 33•4 years ago
|
||
No, it is broken. I just want it to behave consistently.
Comment 34•4 years ago
|
||
Fortunately, Thunderbird notifications works flawlessly. It is an option that has no issues. You do not have to let Windows do everything.
The current notification Thunderbird notification system works, but it does not respect any kind of native Do not Disturb settings. On Windows, this is called Focus Assist, and while it hides away all the native notifications from various software, it doesn't for Thunderbird alerts. This results in me getting interrupted frequently in the middle of e.g. reading an ebook or doing a presentation. Going into TB settings each time I toggle DnD to manually flick a switch (like it current is), is not viable.
Comment 35•4 years ago
|
||
(In reply to u669165 from comment #22)
(In reply to Richard Marti (:Paenglab) from comment #8)
You can try to set in Options > Advanced > Config Editor... the pref
mail.biff.show_balloon to true and mail.biff.show_alert to false. Then the
notification should open in the Windows notifications. But it can be that
you can't open TB through it by clicking the notification.In conjunction with setting
user_pref("alerts.useSystemBackend", true);
, this nearly makes it fully native. Unfortunate that clicking the notification cannot open the email (or Thunderbird at all), but this is definitely a huge help.
alerts.useSystemBackend
is likely buggy which is why it's off by default. According to #1614274, it was turned off by default because there's no developers actively working on it at the moment.
I'd love to see this properly implemented in Thunderbird, but it seems like development isn't really happening at a fast pace any more, which is unfortunate.
Updated•4 years ago
|
Comment 36•4 years ago
|
||
Do Thunderbird developers accept bounties for feature development? I'd be happy to pay for this to be fully implemented similar to what other email clients do - Native Windows 10 notifications, with email subject + snippet of the text in the modification, ideally with action buttons (eg. "reply" and "delete"). It seems like it's close once you enable a few of the feature flags mentioned in this bug, but not fully finished yet.
Comment 37•4 years ago
|
||
(In reply to Daniel Lo Nigro (daniel15) from comment #36)
Do Thunderbird developers accept bounties for feature development?
I second that as I really miss it as well.
Comment 38•3 years ago
|
||
Implemetned in TB 91.0.3. Thanks!
Comment 39•3 years ago
|
||
(In reply to Petr Vones from comment #38)
Implemetned in TB 91.0.3. Thanks!
I don't see it in the release notes at https://www.thunderbird.net/en-US/thunderbird/91.0.3/releasenotes/... Is there a more detailed changelog somewhere that says the feature was implemented. ?
Comment 40•3 years ago
|
||
(In reply to Petr Vones from comment #38)
Implemetned in TB 91.0.3. Thanks!
That was quietly done by them, appreciated though! Thanks Petr for posting about it :)
Comment 41•3 years ago
|
||
But there are still bugs. Don't know whether to post it here or create a new ticket.
-
The notification appears ok but sometimes (I haven't found any pattern yet) gets immediately removed from the Windows Messages, even without switching to Thunderbird and reading the new message first.
-
If there are more than one new unread messages it isn't grouped, but the notification for the most recent one is shown only.
Comment 42•3 years ago
|
||
(In reply to Daniel Lo Nigro (daniel15) from comment #39)
(In reply to Petr Vones from comment #38)
Implemetned in TB 91.0.3. Thanks!
I don't see it in the release notes at https://www.thunderbird.net/en-US/thunderbird/91.0.3/releasenotes/... Is there a more detailed changelog somewhere that says the feature was implemented. ?
See https://www.thunderbird.net/en-US/thunderbird/91.0/releasenotes/. For further reading see bug 715799, bug 375717, bug 1675415, bug 1706890, bug 1715713
(In reply to Petr Vones from comment #41)
But there are still bugs. Don't know whether to post it here or create a new ticket.
Posting here isn't likely the best. If you don't see your issue in https://mzl.la/3jNiGTK then you should file a new bug report
Comment 43•3 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #42)
Posting here isn't likely the best. If you don't see your issue in https://mzl.la/3jNiGTK then you should file a new bug report
Ok, Bug 1729562
Updated•2 years ago
|
Comment 44•2 years ago
|
||
There has been improvements in this area, e.g. bug 1701728 fixed and other core fixes. Maybe we should consider switching it on now? Would need input from some Windows users.
https://searchfox.org/comm-central/rev/bd72ee060cfd3e36a82ca74056d32cc6f407ee45/mailnews/mailnews.js#855
Comment 45•2 years ago
•
|
||
I'm using it on Windows 11 on Daily and it works like the TB notifications for me. Windows 7/8.1 has no such notifications and should still use the TB ones.
Comment 46•2 years ago
|
||
Yes. (Win 8.1 has some support but buggy, see bug 1822817)
Comment 47•2 years ago
|
||
I'd like to see some examples of how this looks (or is there a pref I can use?), but overall I'm in favor of hooking into native notifications on each platform.
Comment 48•2 years ago
|
||
You can try it out by toggling the pref under Settings | General | Use the system notification.
Comment 49•10 months ago
|
||
I suggest bumping this from Sev 3 to Sev 2. This is super annoying and slows down my Thunderbird launch significantly. And pointing people to about:config strings is incredibly hostile behavior towards users. I've always considered it a best practice to use native notifications whenever possible, regardless of OS or platform. Most major OSes have had some sort of API for native notifications for over a decade now, so having a 9 year old unresolved thread on it on Bugzilla is, frankly, embarrassing.
Comment 50•10 months ago
|
||
I don't see previous mention of any launch speed impact from this capability. Steven, is there something I missed?
Anyway, this bug doesn't meet the definition of severity 2. Also, the reporter isn't empowered to alter priorities or severities.
That said, I've asked development to have a look.
Assignee | ||
Comment 51•9 months ago
|
||
Updating the priority as we would like to have this before next ESR on every platform.
We will start with fixing the Windows notification hook as clicking on a notification doesn't open the corresponding email.
After we fix that, we can switch the preference to leverage native notifications by default.
Assignee | ||
Comment 52•8 months ago
|
||
Updated•8 months ago
|
Assignee | ||
Updated•8 months ago
|
Comment 53•8 months ago
|
||
Pushed by solange@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/820aeb7f308e
Use native OS notifications by default. r=mkmelin
Comment 54•8 months ago
|
||
Comment on attachment 9404482 [details]
Bug 1192615 - Use native OS notifications by default. r=#thunderbird-reviewers
[Approval Request Comment]
Approved for beta (after consulting alex)
Comment 55•7 months ago
|
||
bugherder uplift |
Thunderbird 127.0b5:
https://hg.mozilla.org/releases/comm-beta/rev/8582a7f9762c
Description
•