! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Google Chrome icon missing
Status:
RESOLVED: FIXED
Product:
Xfce4-notifyd
Component:
general

Comments

Description Or Schiro 2019-03-22 10:49:43 CET
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! 😊
Comment 1 Simon Steinbeiss editbugs 2019-03-24 23:19:13 CET
Does the notification bubble show the icon correctly?
Comment 2 Or Schiro 2019-03-25 08:55:25 CET
Hi Simon, 

It does. 

Kindly check this screenshot: https://i.imgur.com/sq7TEUa.png

Source: https://gauntface.github.io/simple-push-demo/
Comment 3 Simon Steinbeiss editbugs 2019-03-27 23:24:50 CET
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.
Comment 4 Simon Steinbeiss editbugs 2019-03-27 23:27:16 CET
Ok, nevermind, I'm able to reproduce the bug.
Comment 5 Simon Steinbeiss editbugs 2019-03-27 23:33:34 CET
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.
Comment 6 Git Bot editbugs 2019-03-28 00:10:23 CET
Simon Steinbeiss referenced this bugreport in commit f6b72fe87379f77a8355d42838ff913729c9fedc

Fix Chrome notification icons (Bug #15215)

https://git.xfce.org/apps/xfce4-notifyd/commit?id=f6b72fe87379f77a8355d42838ff913729c9fedc
Comment 7 Simon Steinbeiss editbugs 2019-03-28 00:11:07 CET
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).
Comment 8 Or Schiro 2019-03-28 06:59:57 CET
Simon, this is great! I am so happy you found a fix for it! 🙂👍

Thank you.
Comment 9 Or Schiro 2019-03-28 07:24:28 CET
Simon, am I right in assuming that your fix has also addressed this issue?

Screenshot: https://i.imgur.com/mgkNrW5.png
Comment 10 Simon Steinbeiss editbugs 2019-03-28 19:31:10 CET
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.
Comment 11 Or Schiro 2019-04-01 17:46:14 CEST
Related: https://bugzilla.xfce.org/show_bug.cgi?id=14845
Comment 12 Or Schiro 2019-04-26 17:21:28 CEST
Simon, is it possible to get a Fedora rpm package of the version that includes the fix?

Bug #15215

Reported by:
Or Schiro
Reported on: 2019-03-22
Last modified on: 2019-04-26

People

Assignee:
Simon Steinbeiss
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information