Missing icons
smups opened this issue · 11 comments
Describe the bug
Some Icons are missing in the UI.
To Reproduce
Steps to reproduce the behaviour:
- Fresh install of spot from flatpak
- Open app -> icons are missing
Expected behavior
Icons should be there.
Screenshots
Skip buttons missing:
Idk what this is supposed to be but it is missing:
General information:
- Distribution: Fedora 38 (beta), GNOME 44
- Installation method: Installed from flathub
- Version: 0.4.0
- Device used: Framework Laptop 11th gen
Given that even the minimize icon is mssing in the last picture, I suspect something is broken with your install (which I believe is customized, even the fonts don't look like the defaults). Do you have similar issues with other Gtk/libadwaita apps installed as flatpaks?
Do you have similar issues with other Gtk/libadwaita apps installed as flatpaks?
Nope. I have most stuff installed as flatpaks on my laptop, don't have issues with other gtk apps.
even the fonts don't look like the defaults
I changed the default system font in GNOME tweaks. I don't use any shell extensions though.
which I believe is customized
I just typed flatpak install spot
in the terminal, I haven't messed with anything else.
Just to be sure, I installed spot from the app/dev.alextren.Spot/x86_64/stable
option in the lil menu that flatpak gives when you type flatpak install spot
, that's the right one, right?
I tried re-installing spot, but the issue persists.
Thanks for the details! You do have the right version, but since those icons are provided by the system I still suspect the issue lies somewhere else than in spot.
Could you check which exact version of the GNOME runtime you have installed via flatpak?
Could you try running https://flathub.org/apps/details/org.gnome.design.IconLibrary for instance as well?
Could you check which exact version of the GNOME runtime you have installed via flatpak?
I ran flatpak search org.gnome.Platform
which came up with three results:
Could you try running https://flathub.org/apps/details/org.gnome.design.IconLibrary for instance as well?
I found two icons that don't work 👀
Thanks for the help btw!
No worries, hopefully we'll get to the bottom of it! :)
Can you try flatpak remove org.gnome.Platform/x86_64/43
? Don't proceed, it's just to confirm that it warns you that spot depends on it. Also, I'd be interested in seeing what other apps you have running on top of the same GNOME platform, maybe that'll help.
(sample output for me: )
flatpak remove org.gnome.Platform/x86_64/43
Info: applications using the runtime org.gnome.Platform branch 43:
... dev.alextren.Spot, ... org.gnome.design.AppIconPreview, org.gnome.design.IconLibrary
So these things might help with the investigation. In the meantime, you can try some of these things as well:
- installing a dev build, for instance the artifact here : https://github.com/xou816/spot/actions/runs/4724842020 ;
- having a different flathub remote setup; if you have a user-level flathub remote (see
flatpak remotes
), you could try adding a system flathub remote and install spot there, and conversely if you have a system flathub remote, you could try and setup a flathub user remote. Having a clean install could help us spot (ah!) an issue.
I ran (without proceeding) that command and got:
Interestingly, the icon test app uses GNOME 44 on my install:
When I try to manually install that artefact by running flatpak install I get an error:
having a different flathub remote setup; if you have a user-level flathub remote (see flatpak remotes), you could try adding a system flathub remote and install spot there, and conversely if you have a system flathub remote, you could try and setup a flathub user remote. Having a clean install could help us spot (ah!) an issue.
I don't know what this means, sorry! I think I'm still using Fedora's default setup for remotes (I updated from F35 through F38 on this machine, idk if that matters)
Okay, can you run some of the applications in that first list? I'm interested in seeing if any of these have similar icon issues!
When I try to manually install that artefact by running flatpak install I get an error:
Oh right, might need to add the GNOME nightly repo I guess (if you don't mind trying):
flatpak remote-add --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepo
I don't know what this means, sorry! I think I'm still using Fedora's default setup for remotes (I updated from F35 through F38 on this machine, idk if that matters)
Right, my bad! So it looks like you have a system level install, but you can also have a per-user install that does not require elevated privileges. Again I'm grasping at straws here but maybe you can setup a user remote so we start with a clean slate:
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
(note the --user flag)
and then you can install Spot again
flatpak install --user flathub dev.alextren.Spot
This is a common bug on GTK4 when one uses icon sets that do not have these specific icons and do not inherit from adwaita-icon-theme.
There's not much Spot can do here, outside of bundling the system icons.
Thanks that did it! I had completely forgotten that changing the app icon theme also changes all the other icons.
Thanks again for the help.
This is a common bug on GTK4 when one uses icon sets that do not have these specific icons and do not inherit from adwaita-icon-theme.
There's not much Spot can do here, outside of bundling the system icons.
forgot to answer but thanks for chiming in and being spot on (ah!) with the answer. didn´t realize there was a custom icon theme at play here!!