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
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
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
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
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
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
** 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
⋅