Closed
Bug 1409370
Opened 7 years ago
Closed 7 years ago
[10.13] Closing new email notification still opens the email
Categories
(Thunderbird :: OS Integration, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: scottishwildcat, Unassigned)
References
Details
Attachments
(1 file)
100.61 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38 Steps to reproduce: When a new email arrives, click the "Close" button in the native macOS notification that appears. Actual results: The notification is dismissed, but the corresponding email is also opened, full-screen. Expected results: The email should only be opened when clicking in the body of the notification. When clicking the Close button, the notification should simply be dismissed.
Reporter | ||
Updated•7 years ago
|
OS: Unspecified → Mac OS X
Hardware: Unspecified → x86
Reporter | ||
Comment 1•7 years ago
|
||
(Note I'm reporting this bug against Thunderbird running in macOS 10.13 on my MacBook... *not* the machine whose details are reported in my original comment.)
Comment 2•7 years ago
|
||
Something for Richard to try on his new Mac ;-)
Flags: needinfo?(richard.marti)
Comment 3•7 years ago
|
||
Scottishwildcat, please can you attach a screenshot of the notification with its close button (see above the 'attach file' link)? I see no close button, so for me it's clear the message will be opened because every click on the notification means 'show message'. Also Apple Mail has no close button on the notification -> no close button on notification is system standard and, if you can't show me the button, this bug invalid.
Flags: needinfo?(richard.marti) → needinfo?(scottishwildcat)
Comment 4•7 years ago
|
||
But there's a close button on Windows, right?
Reporter | ||
Comment 5•7 years ago
|
||
Here's the Thunderbird notification. Note that notification type for Thunderbird has to be set to "Alert" rather than "Banner" in macOS Notifications System Preferences, for the button to appear.
Flags: needinfo?(scottishwildcat)
Reporter | ||
Comment 6•7 years ago
|
||
Also, Apple Mail has both Close and Reply buttons on its notifications -- again provided you've set the notification type to "Alert". https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/Product_Help/en_US/PUBLIC_USERS/PL124/S0855_ReceiveNotifications.png
Comment 7•7 years ago
|
||
The screenshot is from OSX 10.13?
Reporter | ||
Comment 8•7 years ago
|
||
Yep, just took it myself.
Reporter | ||
Comment 9•7 years ago
|
||
(The Thunderbird one that is... the Apple one is from a support article, but I've always had buttons in my Apple Mail notifications.)
Comment 10•7 years ago
|
||
Ah yes, there is the possibility between a banner and the notification in system settings. Unfortunately we have no developer on Mac who could fix this.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 11•7 years ago
|
||
That's unfortunate, especially as it's always worked fine up until 10.13 :/
Comment 12•7 years ago
|
||
If you could reproduce it with Firefox we would have the chance it would be fixed as we use shared code from Firefox.
Reporter | ||
Comment 13•7 years ago
|
||
Interesting... I'll see what I can do.
Reporter | ||
Comment 14•7 years ago
|
||
Unfortunately, the buttons on any Firefox notifications I've managed to conjur up appear to work as expected :/
Comment 15•7 years ago
|
||
Philipp, hopefully you can help because you're working mainly on Mac. It seems, something in https://dxr.mozilla.org/comm-central/source/mailnews/base/src/nsMessengerOSXIntegration.mm needs a change to work with macOS 10.13. Would you know what is needed to fix?
Flags: needinfo?(philipp)
Comment 16•7 years ago
|
||
This is a bug or missing feature in nsIAlertsService, the same thing happens in Firefox with this code: var as = Components.classes["@mozilla.org/alerts-service;1"].getService(Components.interfaces.nsIAlertsService); var listener = { observe: function(subject, topic, data) { alert("TOPIC: " + topic + " - " + subject + " - " + data); } } as.showAlertNotification("", "title", "text", true, "cookie", listener, "", "auto", "", "", null, false, false ) Running this code, you get an "alertclickcallback" notification both when the close button is clicked and the text is clicked. There is no way to differentiate them in the observer notification. Path forward would be to file a bug in Toolkit :: Notifications and Alerts to allow differentiating the two, then we can take action in Thunderbird.
Flags: needinfo?(philipp)
Comment 17•7 years ago
|
||
10.13.1 is out now. I tested the notification and they work now again.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•