GeopJr / Tuba

Browse the Fediverse
https://tuba.geopjr.dev/
GNU General Public License v3.0
503 stars 55 forks source link

[Bug]: Some icons do not appear on non-GNOME (Wayfire) #972

Closed theamazing0 closed 3 weeks ago

theamazing0 commented 4 weeks ago

Describe the bug

I'm using the Flatpak version of Tuba on the Fedora Sway spin, but my window manager is set to Wayfire. Some of the icons do not appear, and instead some error icon is appearing. I'm not using any theming methods.

Steps To Reproduce

  1. Install the Tuba Flatpak
  2. View the various screens to see missing icons

Logs and/or Screenshots

Untitled-2024-06-05-1822 Untitled-2024-06-05-1822(2)

Instance Backend

Mastodon

Operating System

Fedora Sway, using Wayfire

Package

Flatpak

Troubleshooting information

os: GNOME 46 (Flatpak runtime) prefix: /app flatpak: true version: 0.7.2 (production) gtk: 4.14.4 (4.14.1) libadwaita: 1.5.1 (1.5.0) libsoup: 3.4.4 (3.4.4) libgtksourceview: 5.12.0 (5.12.0)

Additional Context

No response

GeopJr commented 4 weeks ago

It looks like you are either missing an icon theme or have unset it. The missing icons follow the xdg spec.

My guess is that Fedora includes adwaita icon theme, so in case it has been unset, you can set it back to adwaita using gsettings set org.gnome.desktop.interface icon-theme 'Adwaita' (you can replace 'Adwaita' with any other icon theme).

Is Tuba the only app affected? That's something that should affect all your apps

GeopJr commented 3 weeks ago

Did you fix it? Would you mind commenting what was wrong, in case someone else encounters it in the future?

theamazing0 commented 3 weeks ago

Well... So I ran your command, I checked that the icons were installed, I checked that xdg-desktop-portal-gtk was installed, I logged out and logged back in. None of that did anything. Then I ran dbus-update-activation-environment DISPLAY because something else wasn't working... and it fixed it? And you were correct, it wasn't just Tuba, other libadwaita apps seemed to have this issue too with certain icons.

GeopJr commented 3 weeks ago

Thanks! Glad you got it solved!

theamazing0 commented 3 weeks ago

Now time to figure out why it works 😅