New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 747067 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

"requireInteraction" option in chrome.notifications API cause the notification to not appear on Mac OS

Reported by dpkr...@gmail.com, Jul 20 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

Steps to reproduce the problem:
1. Set requireInteraction to true in background.js of sample extension
2. Install the sample extension
3. Notifications are not created

What is the expected behavior?
Notifications should appear and stay on screen until the user interacts with it (based on the documentation for requireInteraction on https://developer.chrome.com/apps/notifications )

What went wrong?
Notifications do not appear unless requireInteraction is set to false. This is not an issue on Windows and seems to be isolated to Mac OS X.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 59.0.3071.115  Channel: stable
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 26.0 r0
 
ExtensionTest.zip
1.0 KB Download

Comment 1 by tapted@chromium.org, Jul 21 2017

Components: UI>Notifications

Comment 2 by peter@chromium.org, Jul 21 2017

Labels: Needs-Feedback
Thank you for the report!

Loading your extension works for me and shows the notification. Does clicking on the display button on the following page work for you? What if you uncheck the requireInteraction checkbox?

https://tests.peter.sh/notification-generator/#requireInteraction=true

If it doesn't, could you look in the notification settings on your system and see whether Chrome is listed, and if so, once or twice? It should be there twice - once for banners and once for alerts. Please also confirm both are enabled.

Comment 3 by dpkr...@gmail.com, Jul 21 2017

Thanks for the quick response. It looks like the problem is that Chrome is listed only once in my notification settings. It was set to banners. When I changed the option to alerts, the requireInteraction option seems to work. I noticed that in another Macbook that it works with no issues when Chrome is listed twice in the settings.

I don't know why it appears only once on my laptop but I'm glad it's not a widespread issue and only a problem on mine. 

Thanks a lot for your help! I really appreciate the very quick response.
Project Member

Comment 4 by sheriffbot@chromium.org, Jul 21 2017

Cc: peter@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "peter@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Needs-Feedback
@dpkravi: Could you confirm, Is this issue can be closed as per comment #3?

Thanks!!

Comment 6 by dpkr...@gmail.com, Jul 24 2017

Yes. This issue can be closed because it was only isolated to my machine. Thanks!
Cc: ranjitkan@chromium.org
Status: WontFix (was: Unconfirmed)
Thanks for updating, closing the issue as per above comment.!

Sign in to add a comment