Dear all, Probably this is not an issue with notifyd, please disregard then. I am still hopeful to receiving some advice from you. Please take a look at the attached screenshot. How can I make the notification area to properly display the Chrome icon? Screenshot: https://i.imgur.com/jWtQuci.png Thank you! 😊
Does the notification bubble show the icon correctly?
Hi Simon, It does. Kindly check this screenshot: https://i.imgur.com/sq7TEUa.png Source: https://gauntface.github.io/simple-push-demo/
Could you check if you can find the correct icon in ~/.cache/xfce4/notifyd/icons ? That's the path notifyd uses to save those notification icons from the bubble and to be able to re-display them in the log or panel plugin.
Ok, nevermind, I'm able to reproduce the bug.
Alright, so the problem seems to come from the way Chrome/Chromium itself saves/references those icons. It uses a path, but not a great one, i.e. /tmp/.org.chromium.Chromium.WgATg6 Obviously those icon paths are not persistent, so I would need to copy those image files to the cache path mentioned above to be sure notifyd can always display them. The annoying part is that this would happen for *all* icons, even those that are in a persistent path like /usr/share/icons and are meant to remain there... Not sure how to resolve this properly, to be honest.
Simon Steinbeiss referenced this bugreport in commit f6b72fe87379f77a8355d42838ff913729c9fedc Fix Chrome notification icons (Bug #15215) https://git.xfce.org/apps/xfce4-notifyd/commit?id=f6b72fe87379f77a8355d42838ff913729c9fedc
Managed to fix it. The solution is a bit of a special treatment for Chrome (or any other app that "manages" its own icons by saving it in /tmp).
Simon, this is great! I am so happy you found a fix for it! 🙂👍 Thank you.
Simon, am I right in assuming that your fix has also addressed this issue? Screenshot: https://i.imgur.com/mgkNrW5.png
You're right to assume that this bug is in a different component (xfce4-power-manager) and has to be fixed separately. Not sure if I would add the same workaround there though to be honest... In any case, for the xfce4-power-manager bug you should file a separate issue against the correct component.
Related: https://bugzilla.xfce.org/show_bug.cgi?id=14845
Simon, is it possible to get a Fedora rpm package of the version that includes the fix?
Please disregard, found it via http://fedora.mirrors.tds.net/fedora//development/rawhide/Everything/x86_64/os/Packages/x/xfce4-notifyd-0.4.4-1.fc31.x86_64.rpm Thanks :)