[Bug 1903893] Re: Notifications from Chromium snap show generic icon

2020-11-13 Thread Olivier Tilloy
Séb, I can confirm what Sam and coeur-noir are seeing. No icon is displayed on notifications with that example website you linked to, and using dbus-monitor I can see that the icons are being saved under the snap's confined TMPDIR, so the path is not visible from the host. This would probably

[Bug 1903893] Re: Notifications from Chromium snap show generic icon

2020-11-13 Thread Sam Lane
Using dbus-monitor, and the test site given ( https://web-push- book.gauntface.com/demos/notification-examples/ ) output: string "Chromium" uint32 0 string "file:///tmp/.org.chromium.Chromium.kuprxj" string "Web Push Book" string "web-push-book.gauntface.com The file does not seem

[Bug 1903893] Re: Notifications from Chromium snap show generic icon

2020-11-13 Thread Sebastien Bacher
Could you give an example or testcase? Trying on a random website, e.g https://web-push- book.gauntface.com/demos/notification-examples/ the notification displays correctly including icons or image on current chromium snap version -- You received this bug notification because you are a member

[Bug 1903893] Re: Notifications from Chromium snap show generic icon

2020-11-12 Thread Sam Lane
My amateur attempt to clairfy... I believe the issue Coeur Noir is referring to is that Raven / Budgie gets this example as the app_icon: file:///tmp/.org.chromium.Chromium.beVtiT But due to it being a snap, the file is actually located at: /tmp/snap.chromium/tmp/.org.chromium.Chromium.beVtiT

[Bug 1903893] Re: Notifications from Chromium snap show generic icon

2020-11-12 Thread Coeur Noir
In other words. As soon as you use Chromium as a snap, the icons / pictures in notifications are not correct ( usually fallback to a generic one ). Compare with Chromium on other systems or with other web browser from same website, on the same system. As mentioned, I'm just a messenger here and

[Bug 1903893] Re: Notifications from Chromium snap show generic icon

2020-11-12 Thread Olivier Tilloy
Chromium uses the Desktop Notifications specification¹ to display notifications². It sets the app_icon parameter, and according to the specification³, « The "app_icon" parameter and "image-path" hint should be either an URI (file:// is the only URI schema supported right now) or a name in a

[Bug 1903893] Re: Notifications from Chromium snap show generic icon

2020-11-11 Thread Coeur Noir
** Description changed: Hi, Notification coming from Chromium web browser ( as a snap ) show generic icon instead of favicon or website icon or any website picture. For reference ⋅ https://forum.snapcraft.io/t/notifications-in-chromium-show-generic-icon/21079 ⋅