Skip to content

[3.3.0] SafeEyes has troubling finding its own icons? #815

@hartwork

Description

@hartwork

Hi!

We had a brief discussion about my tray icon being nothing but a transparent rectangle…

Image

… and the issue seemed temporary but it came back, and it only affects SafeEyes, not any other app. The related packaging does refresh the icons cache (and this is with SafeEyes installed system-wide through distro packaging). One clue seems to be that when I open the settings dialog, I see these error messages in the output:

(safeeyes:5231): Gtk-WARNING **: 14:42:58.291: Failed to load icon /home/user123/.local/share/icons/hicolor/16x16/apps/io.github.slgobinath.SafeEyes.png: Error opening file /home/user123/.local/share/icons/hicolor/16x16/apps/io.github.slgobinath.SafeEyes.png: No such file or directory

(safeeyes:5231): Gtk-WARNING **: 14:42:58.323: Failed to load icon /home/user123/.local/share/icons/hicolor/16x16/apps/io.github.slgobinath.SafeEyes.png: Error opening file /home/user123/.local/share/icons/hicolor/16x16/apps/io.github.slgobinath.SafeEyes.png: No such file or directory

(safeeyes:5231): Gtk-WARNING **: 14:42:58.323: Failed to load icon /home/user123/.local/share/icons/hicolor/32x32/apps/io.github.slgobinath.SafeEyes.png: Error opening file /home/user123/.local/share/icons/hicolor/32x32/apps/io.github.slgobinath.SafeEyes.png: No such file or directory

(safeeyes:5231): Gtk-WARNING **: 14:42:58.323: Failed to load icon /home/user123/.local/share/icons/hicolor/48x48/apps/io.github.slgobinath.SafeEyes.png: Error opening file /home/user123/.local/share/icons/hicolor/48x48/apps/io.github.slgobinath.SafeEyes.png: No such file or directory

(safeeyes:5231): Gtk-WARNING **: 14:42:58.326: Failed to load icon /home/user123/.local/share/icons/hicolor/64x64/apps/io.github.slgobinath.SafeEyes.png: Error opening file /home/user123/.local/share/icons/hicolor/64x64/apps/io.github.slgobinath.SafeEyes.png: No such file or directory

(safeeyes:5231): Gtk-WARNING **: 14:42:58.326: Failed to load icon /home/user123/.local/share/icons/hicolor/24x24/apps/io.github.slgobinath.SafeEyes.png: Error opening file /home/user123/.local/share/icons/hicolor/24x24/apps/io.github.slgobinath.SafeEyes.png: No such file or directory

(safeeyes:5231): Gtk-WARNING **: 14:42:58.327: Failed to load icon /home/user123/.local/share/icons/hicolor/128x128/apps/io.github.slgobinath.SafeEyes.png: Error opening file /home/user123/.local/share/icons/hicolor/128x128/apps/io.github.slgobinath.SafeEyes.png: No such file or directory

Any ideas what makes SafeEyes (or the library code it is using) look for the icons in /home/user123/.local/share/icons/ rather than /usr/share/icons/ where they are?

I'm happy to debug this more. I need to run now, use of strace will be the next thing I'll try. Any other ideas?

Thanks and best, Sebastian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions