Bug 481999 - Plasma 6: Some applications like steam and quassel show a white page icon in systray
Summary: Plasma 6: Some applications like steam and quassel show a white page icon in ...
Status: RESOLVED DUPLICATE of bug 479712
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 6.0.0
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-29 07:57 UTC by SigHunter
Modified: 2024-03-04 21:11 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot, note the 2 white icons in systray (3.26 MB, image/png)
2024-02-29 07:57 UTC, SigHunter
Details
Screenshot, easily reproducible in kde neon with whatsapp desktop (164.60 KB, image/png)
2024-03-02 10:29 UTC, SigHunter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SigHunter 2024-02-29 07:57:08 UTC
Created attachment 166182 [details]
Screenshot, note the 2 white icons in systray

SUMMARY
After switching to Plasma 6.0, some icons in systray only show up as a white sheet of paper (application-x-zerosize.svg) instead of the actual application icon. those showed up correctly in plasma 5.27.x. So far I noticed this with steam (installed via flatpak) and quassel irc client (native install). It does not happen with all systray icons, e.g. owncloud client icon works correctly.  See screenshot attached. 

Note: I can not select 6.0 as Version for this bug, so I used 5.93.0 instead


STEPS TO REPRODUCE
1. use plasma 6.0.0
2. start steam or quassel
3. look in systray

OBSERVED RESULT
icons just a generic white page icon

EXPECTED RESULT
the correct application icon should show up

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
This has been the case when I first tried out plasma 6 beta some weeks ago
Comment 1 Nate Graham 2024-03-01 07:45:55 UTC
Hmm, can't reproduce it myself. Are you using a non-Breeze icon theme here?
Comment 2 Titouan Camus 2024-03-01 07:50:04 UTC
It is also my case with new KDE neon installation and default breeze theme.
Thanks for the amazing work :)
Comment 3 SigHunter 2024-03-01 09:06:38 UTC
Hi Nate, I am using Breeze Dark icon theme
Comment 4 Jacopo Torrini 2024-03-01 23:39:56 UTC
I have the same problem with 2 electron apps: whatsapp desktop from flatpak and google-chat-electron from snap.
I have a clean new installation of latest KDE Neon with plasma 6.
I use default icon pack.
Comment 5 SigHunter 2024-03-02 10:29:42 UTC
Created attachment 166295 [details]
Screenshot, easily reproducible in kde neon with whatsapp desktop

Like others mentioned, it can be reproduced the following way:
(but note, it's not specifically related to neon or whatsapp)

1. Install latest neon user neon-user-20240229-0716.iso in a VM (qemu/kvm)
2. Install the initial updates discover offers
3. install WhatsApp Desktop flatpak via discover and launch it
4. look to systray, there's a white page icon instead of green WA icon, see attachment
Comment 6 Nate Graham 2024-03-04 20:39:22 UTC
Can reproduce with the Whatsapp Desktop app.

When this happens, it's because the app is asking for an icon that's not present in the system, and there isn't even a fallback icon. There are some possibilities I can think of:
1. Something changed regarding where icons are found, so the icon in the flatpak bundle isn't located
2. Something changed regarding icon finding in KIconLoader, so even though the icon in the bundle is located, KIconLoader doesn't use it for some reason
3. We previously had a WhatsApp icon in the Plasma theme that was masking a pre-existing issue with #1 or #2, such that removing that icon made them start manifesting.
Comment 7 Nate Graham 2024-03-04 20:42:41 UTC
I don't see any bundled icons in the Flatpak, so that rules out #1, and there was definitely no WhatsApp icon in the Plasma theme prior to 6.0 (https://invent.kde.org/plasma/libplasma/-/tree/kf5/src/desktoptheme/breeze/icons), so that rules out #3.

It would be great if someone could find out the exact icon name it's asking for. Or maybe it's asking for a pixmap and that broke somehow?
Comment 8 Nicolas Fella 2024-03-04 21:11:16 UTC

*** This bug has been marked as a duplicate of bug 479712 ***