New issue
Advanced search Search tips

Issue 870934 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Aug 7
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Notification vector icon does not show up

Project Member Reported by updowndota@chromium.org, Aug 4

Issue description

Chrome Version: 70.0.3512.0
OS: 10908.0.0 dev

Steps to reproduce:
(1) Create a notification in chrome/browser/ side
(2) Set vector icon by
notification.set_vector_small_image(ash::kNotificationGoogleIcon);
(3) Display the notification by
NotificationDisplayService::GetForProfile(profile)->Display(
      NotificationHandler::Type::TRANSIENT, notification);

What is the expected result?
Small vector icon appears at the top left corner of the notification.

What happens instead?
The icon is blank. Screenshot attached.
 
Owner: updowndota@chromium.org
Status: Assigned (was: Untriaged)
Can you look into it more? It appears to work for other notifications in Chrome, so I'm skeptical it's a bug in the notification system. Even if it is, without sharing your code, it's hard for others to look into.
Owner: est...@chromium.org
Sharing my code:
https://chromium-review.googlesource.com/c/chromium/src/+/1162976

Either I tried to set the vector small icon in assitant_setup.cc
Or to set the vector small icon in ash side (MessageCenterController::ShowClientNotification)
The icon shown is blank.
Labels: noti
Status: WontFix (was: Assigned)
you didn't set the |accent_color|
Thanks for looking into it!

Sign in to add a comment