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 need a patch to rewrite the path, or save the
temporary icon file to a different place that's visible to the host.
** Changed in: chromium-browser (Ubuntu)
Status: Incomplete => Confirmed
** Changed in: chromium-browser (Ubuntu)
Importance: Undecided => Medium
** Tags added: snap
** Summary changed:
- Notifications from Chromium snap show generic icon
+ [snap] Notifications do not show a custom icon
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1903893
Title:
[snap] Notifications do not show a custom icon
Status in chromium-browser package in Ubuntu:
Confirmed
Bug description:
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
⋅
https://github.com/solus-project/budgie-desktop/pull/2000#issuecomment-653833784
⋅ https://discourse.ubuntubudgie.org/t/notification-issues/434
It's *not* specific to ( Ubuntu ) Budgie. And to some extent might
affect any chromium snap based web browser.
Interesting insight in second link, quoting :
« Chromium based browser notifications pop up with broken icon images.
This is due to the fact these browsers prefix the icon name in the
notification with "file:///". Furthermore, snap based chromium
browsers save the temporary icon in the snap, and don't pass the
correct path to Raven. If the icon names start with "file:///",
clearing the icon name fixes both of these issues by allowing the
browsers to show the correct image (same as Firefox does), and allows
the snaps to default to the fallback "mail-unread-symbolic" icon,
instead of showing a broken image icon. This fix also should have
absolutely no effect on any other notifications. »
Attachment : top right is the actual notification ( with unread mail icon )
it should show :
⋅ ideally, picture from site ( cover art in that case, it's a music streaming
site, as done in Firefox in same situation )
⋅ or (fav)icon for the site ( deezer here, which icon is shown a bit above in
workspaces applet in top panel )
⋅ or web browser icon ( chromium )
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1903893/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp