Flatpak apps have no icons on some places if their AppStream id contains .desktop suffix
Fedora 39, gnome-software-45.3-1.fc39.x86_64.
I apologize for not including any verbose logs or screenshots, the problematic app was already updated on Flathub and reverting to its old build has no effect.
When a Flatpak app contains .desktop
suffix in its AppStream id, its desktop icon is replaced with a blurry, default GTK one on some places of Software. This happens for the miniature icon that gets displayed next to an app name in search results and also for already installed apps on the "Installed" tab. However, when opening a details page of such app, its icon is displayed correctly there.
This was in journal log:
gnome-software[90300]: Failed to load icon /var/lib/flatpak/appstream/flathub/x86_64/active/icons/64x64/com.grangerhub.Tremulous.desktop.png: Error opening file /var/lib/flatpak/appstream/flathub/x86_64/active/icons/64x64/com.grangerhub.Tremulous.desktop.png: No such file or directory
Notice the incorrectly added .desktop
suffix.
The issue started happening after this commit and was fixed by the following one that removed the suffix.