SUMMARY After installing an app from Flatpak the launcher appears on the application menu and the panel. However instead of the proper icon from the app what you see is an "empty page" icon (I believe it's application-x-zerosize). The launcher itself works fine and Firefox opens as expected. Also, after restarting the desktop session the correct icon appears. Note: this only happens with apps installed from Flatpak. If you install Firefox from the distribution's package manager then the Firefox icon appears correctly right away without having to restart anything. STEPS TO REPRODUCE 1. Open a terminal and type 'flatpak install firefox' (choose the /stable branch) 2. Wait a few seconds, go to the application menu -> Internet and look at the Firefox launcher 3. Alternatively look at the Firefox launcher on the panel. OBSERVED RESULT Firefox is using the incorrect icon EXPECTED RESULT Firefox is using the well-known Firefox logo SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 5.25.0 KDE Frameworks Version: 5.95.0 Qt Version: 5.15.5
Can you confirm if it happens with all apps; such as installing supertux from discover? Firefox has some quirks due to it being on the panel, the path through prefferredbrowser://
(In reply to David Edmundson from comment #1) > Can you confirm if it happens with all apps; such as installing supertux > from discover? > Firefox has some quirks due to it being on the panel, the path through > prefferredbrowser:// I tried a few more apps. The same problem happens with: - Spotify - ScummVM - Steam - Calibre It does NOT happen with: - Telegram
I forgot: it also does NOT happen with SuperTux
Hmmm... I tried again starting with a fresh session and this time the SuperTux icon didn't appear. Then I repeated the same process with Telegram and this one still shows the correct icon. Both apps installed from Discover.
*** Bug 455979 has been marked as a duplicate of this bug. ***
*** Bug 455981 has been marked as a duplicate of this bug. ***
Git commit 2663ef41927f4414ee2f305f5bb1d44e4670dabf by David Redondo. Committed on 21/11/2022 at 09:47. Pushed by davidre into branch 'master'. Watch for icons directory changes from KDED Upon KIconTheme construction folders are checked to exist and only existing ones are used later for lookup of icons. Now consider that a new program is installed and it installs its icon into a directory inside XDG_DATA_DIRS that before did either not contain an 'icons' directory at all or there was no folder of the specific theme at this specific location. A typically long running program that wants to display such icons like an application launcher, taskmanager, system monitor or window manager won't be able to find these icons. KDED can watch for 'icons' directories or new theme directories (subfolders of 'icons' and notify running applications. KDED seems the correct place to watch for such events, it alreay does so for a bunch of subfolders of XDG_DATA_DIRS. FIXED-IN:5.101 M +17 -2 src/kded.cpp https://invent.kde.org/frameworks/kded/commit/2663ef41927f4414ee2f305f5bb1d44e4670dabf