New issue
Advanced search Search tips

Issue 874078 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Non-native notifications do not focus the browser window

Project Member Reported by atwilson@chromium.org, Aug 14

Issue description

1) Go to a website that displays notifications (example: https://atwilson.users.x20web.corp.google.com/www/notif_test.html)
2) Have the website display the notification
3) Focus a different window
4) Click on the notification

Expected:
The chrome window that displayed the notification comes to the foreground. I thought at one point it would also switch to the tab, but maybe we rely on the page to call window.focus() for that?

Actual:
For native notifications (on Linux): chrome window is indeed focused
For non-native notifications (enabled via chrome://flags/#enable-native-notifications), clicking on the notification does not focus the chrome window.

Non-native notifications should have the same behavior as native notifications re: focusing the window.

I have not tested this on non-linux platforms.
 
Labels: Hotlist-DesktopUIToolingRequired Hotlist-DesktopUIChecked
*** Mass UI Triage***

We were unable to try a repro for this bug due to 403 error while accessing URL https://atwilson.users.x20web.corp.google.com/www/notif_test.html.Adding respective labels for further triage.
You need someone who can access x20 (i.e. google employee with x20 access). I can also provide the source offline if needed.
Status: Assigned (was: Untriaged)
This issue has an owner, a component and a priority, but is still listed as untriaged or unconfirmed. By definition, this bug is triaged. Changing status to "assigned". Please reach out to me if you disagree with how I've done this.

Sign in to add a comment