Bug 470908 - The icon of certain apps is missing from Flatpak Permissions KCM
Summary: The icon of certain apps is missing from Flatpak Permissions KCM
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_flatpak (other bugs)
Version First Reported In: master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 472028 484280 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-06-11 13:14 UTC by Patrick Silva
Modified: 2025-09-23 15:27 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.5.0
Sentry Crash Report:


Attachments
screenshot (176.05 KB, image/png)
2023-06-11 13:14 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-06-11 13:14:59 UTC
Created attachment 159599 [details]
screenshot

STEPS TO REPRODUCE
1. install Thunderbird email client or Swell Foop game from flathub
2. open Flatpak Permissions KCM
3. select the app installed in the step 1

OBSERVED RESULT
the icon of the selected app is missing. Please see the attached screenshot.

EXPECTED RESULT
no missing icon

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.5.0
Graphics Platform: Wayland
Comment 1 Justin Zobel 2023-06-20 12:54:10 UTC
Can confirm
Comment 2 ratijas 2023-06-20 12:58:38 UTC
Flatpak's icon resolution algorithm is quite different from what we normally use, so there's a specific function in flatpak-kcm code which performs a best-effort search, and as seen in this bug report it is far from ideal.

There is a one open MR to provide at least sensible fallback icon, but it got stuck on the lack of an appropriate icon. See https://invent.kde.org/plasma/flatpak-kcm/-/merge_requests/61
Comment 3 Patrick Silva 2023-07-07 03:25:06 UTC
*** Bug 472028 has been marked as a duplicate of this bug. ***
Comment 4 Patrick Silva 2024-03-22 22:06:28 UTC
*** Bug 484280 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2025-09-18 21:22:18 UTC
This is fixed for Plasma 6.5.
Comment 6 Patrick Silva 2025-09-21 13:55:29 UTC
The bug persists with Swell Foop game and OBS Studio from flathub.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Graphics Platform: Wayland
Comment 7 Patrick Silva 2025-09-21 13:56:43 UTC
There is an icon for OBS Studio, but it is wrong. Correct icon is a circle, the icon in the KCM is a square.
Comment 8 Justin Zobel 2025-09-22 00:44:05 UTC
Is it the square as shown in the screenshot in the first comment?
Comment 9 Patrick Silva 2025-09-22 00:46:46 UTC
No. It's OBS icon, but in square form.
Comment 10 Nate Graham 2025-09-23 15:13:10 UTC
I can't reproduce that. OBS and Swell Foop's icons looks correct in the KCM for me with today's git master.

Both apps are installed from Flathub. Same for you?
Comment 11 Patrick Silva 2025-09-23 15:27:49 UTC
Yes, both are installed from flathub. Fortunately I'm unable to reproduce today.