Bug 2265401 - Missing Flatpak Application Icons in GNOME Software
Summary: Missing Flatpak Application Icons in GNOME Software
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: flatpak
Version: 40
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: David King
QA Contact: Fedora Extras Quality Assurance
URL: https://ibb.co/NWTm1n7
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-02-21 20:46 UTC by Reaven
Modified: 2025-05-16 07:56 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-05-16 07:56:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Reaven 2024-02-21 20:46:15 UTC
Over the past few days, several users, including myself, have encountered an issue where the icons for certain Flatpak applications like Discord no longer appear in GNOME Software. This problem seems to affect multiple applications and persists across reboots of the GNOME Software package. The applications themselves function correctly, but their icons are missing in the GNOME Software interface, which affects usability and navigation.

Reproducible: Always

Steps to Reproduce:
1. Open GNOME Software.
2. Navigate to the "Installed" section or search for specific Flatpak applications.
3. Observe that the icons for some Flatpak applications like Discord are missing, although the application listings are otherwise intact.

Actual Results:  
The icons for some Flatpak applications like Discord, GCompris, Kdenlive, Peruse for exemple are missing in GNOME Software, while the applications are present and functional. This issue seems to occur randomly and affects various applications without a clear pattern.

Expected Results:  
All installed Flatpak applications should display their respective icons in GNOME Software, ensuring a consistent and user-friendly interface.

- The issue has been observed on multiple systems with different configurations.
- Reinstalling the affected applications or GNOME Software does not resolve the issue.
- The problem has been reported by several users starting from today, suggesting a possible update or change in GNOME Software or Flatpak might be related.

I hope this information is helpful for diagnosing and resolving the issue. Please let me know if any further details or logs are required.

Thank you for your attention to this matter.

Comment 1 Yannick Defais 2024-02-22 01:12:58 UTC
I confirm this, here is a list of missing icons I found:
Discord
KolourPaint
Dropbox
Steam (detailed description)
Zoom
KImageMapEditor
GCompris
eFatura
GNUOctave (category learning)
Labplot

Beside, it seems to me related to some crashes: https://bugzilla.redhat.com/show_bug.cgi?id=2265429

Fedora 40, gnome-software 46.beta, from "Fedora-Workstation-Live-x86_64-40-20240221.n.0.iso"

Comment 2 Milan Crha 2024-02-22 08:45:37 UTC
Thanks for a bug report. I suppose with Flatpak you mean "Flathub.org", right? There are multiple Flatpak repositories.

The icons are not part of the gnome-software (and cannot be). The applications are recognized by the appstream data, which is provided by some ways (appstream-data package for the Fedora itself, then Flatpak repositories provide their own appstream data, and so on). The repositories are responsible to have the icons avaiable, especially when they modify the app-provided appstream data (which Flathub.org does).

I believe the Flathub.org regenerated the appstream data recently and it had been downloaded by the gnome-software, but they reference incorrect place for the icons, thus they are not shown. When you run gnome-software from a terminal you might see some runtime warnings there. Note the gnome-software runs in the background, thus you need to stop it first with `gnome-software --quit` or a kill command.

I do not have a problem with Steam, but I see on the console:

   08:30:53:012 Gtk Failed to load icon /var/lib/flatpak/appstream/flathub/x86_64/active/icons/64x64/org.kde.gcompris.desktop.png:
   Error opening file /var/lib/flatpak/appstream/flathub/x86_64/active/icons/64x64/org.kde.gcompris.desktop.png: No such file or directory

Looking into /var/lib/flatpak/appstream/flathub/x86_64/active/icons/64x64/ there are cached a lot of icons, but none is gcompris. I do have there a Steam icon though.

The GCompris appstream data from the flathub says:

    <icon height="64" type="cached" width="64">org.kde.gcompris.desktop.png</icon>
    <icon height="128" type="remote" width="128">https://dl.flathub.org/media/org/kde/gcompris.desktop/711031e7ea78aa8b9bde7c2a381d556d/icons/128x128/org.kde>
    <icon height="128" type="cached" width="128">org.kde.gcompris.desktop.png</icon>
    <icon type="stock">org.kde.gcompris</icon>

where the gnome-software picked the first one.

As long as flatpak claims the icon is cached, it should be cached, thus I move this to the flatpak.

Please note this had been filled against Fedora 39, but I see this also with flatpak-1.15.6-3.fc40.x86_64, thus I move this to Fedora 40.

Comment 3 Aoife Moloney 2025-04-25 10:18:22 UTC
This message is a reminder that Fedora Linux 40 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 40 on 2025-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '40'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 40 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Aoife Moloney 2025-05-16 07:56:30 UTC
Fedora Linux 40 entered end-of-life (EOL) status on 2025-05-13.

Fedora Linux 40 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.