New issue
Advanced search Search tips

Issue 656395 link

Starred by 6 users

Issue metadata

Status: Archived
Owner: ----
Closed: Aug 21
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Respect Quiet Hours mode on Windows 10

Reported by armadaje...@gmail.com, Oct 15 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36

Steps to reproduce the problem:
1. Open the Windows Action Center and turn on Quiet Hours to block notifications.
2. Go to one of many service worker notification demos, such as https://tests.peter.sh/notification-generator/
3. Grant the demo permission to show notifications
4. Press the demo's button to generate a notification
5. Observe that the notification still shows despite the user having indicated that they do not wish to receive notifications.

What is the expected behavior?
Notifications should be suppressed while Quiet Hours are in effect by checking with the system. See https://msdn.microsoft.com/en-us/library/windows/desktop/bb762242(v=vs.85).aspx

What went wrong?
Notifications are shown from websites regardless of Quiet Hours.

More and more websites are adding service worker notifications. But having enabled them for many sites, including Facebook, I'm finding that they can be annoying, unwanted, or in the way at times. There are many situations in which I want to be able to prevent notifications, including projecting my screen to others or just trying to concentrate on a task.

Currently, there's not easy way to turn off notifications. The only way is to disable it for each individual site and then re-enable later, which isn't practical at all.

Did this work before? No 

Chrome version: 53.0.2785.143  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 23.0 r0

If Chrome notifications eventually make it into the Windows 10 Action Center (see https://bugs.chromium.org/p/chromium/issues/detail?id=516147), then I believe this issue will be solved as a side effect. However, it seems like that will take a while if it ever happens. Checking Quiet Hours state before presenting a notification via the current method is a much smaller task with significant gains for the user while we wait for full Action Center integration.
 
Labels: M-56
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Windows 10 using chrome reported version #53.0.2785.143 and latest canary #56.0.2895.0.

Attaching a screen cast for reference.

This is a non regression issue as it is observed from M45 and above builds. Could not able to test this issue in M40 and below builds as it asked for a registered service worker (Please find the screenshot "notification.png")

Hence, marking it as untriaged to get more inputs from dev team.
656395.mp4
898 KB View Download
notification.PNG
655 KB View Download
Status: Archived (was: Untriaged)
Archiving old bugs that haven't been actively assigned in over a year.

If you feel this issue should still be addressed, feel free to reopen it or to file a new issue. Thanks!

Sign in to add a comment