Bug 508734 - Discover shows an invisible black icon for Flathub in dark mode
Summary: Discover shows an invisible black icon for Flathub in dark mode
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: 6.4.80
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-25 22:00 UTC by aronkvh
Modified: 2025-12-08 23:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
flathub icons in dark mode discover (83.74 KB, image/png)
2025-11-05 23:36 UTC, aronkvh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aronkvh 2025-08-25 22:00:06 UTC
Just a visual issue.
OBSERVED RESULT
When using dark color schemes, the black icon with a tagline for apps from Flathub that Discover uses is practically invisible.

EXPECTED RESULT
The icon should be recolored with the text color and the tagline shouldn't be there at all, because it's too small for anyone to read.

SOFTWARE/OS VERSIONS
Discover: 6.4.4
Fedora Linux 42 (KDE Plasma Desktop Edition) (Wayland)
KDE Frameworks: 6.17.0
Qt: Using 6.9.1 and built against 6.9.1
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.15.10-200.fc42.x86_64
Comment 1 Nate Graham 2025-08-26 19:57:31 UTC
Can you attach a screenshot that shows it happening?
Comment 2 Bug Janitor Service 2025-09-10 03:48:27 UTC Comment hidden (spam)
Comment 3 Bug Janitor Service 2025-09-25 03:46:57 UTC Comment hidden (spam)
Comment 4 aronkvh 2025-11-05 23:35:27 UTC
I still see this on Fedora 43 with Plasma 6.5.1
Comment 5 aronkvh 2025-11-05 23:36:29 UTC
Created attachment 186536 [details]
flathub icons in dark mode discover

Finally got around to make a screenshot of the black-on-grey Flathub icon
Comment 6 Nate Graham 2025-12-08 23:05:22 UTC
This is a tricky one. The icon comes from the repo itself, and that icon isn't compatible with our symbolic icon re-coloring system.

In the past this icon was colorful, so it worked everywhere, but then FLathub changed it to be a symbolic icon. Presumably it re-colors properly on GNOME.

I see a few potential options:
- See if we can inject our icon recoloring code into the SVG code of the icon itself on Flathub, in such a way that it won't interfere with the GNOME icon re-coloring stuff
- Propose to Flathub that they return to using a colorful icon that doesn't require re-coloring anywhere to avoid this issue
- Decide that we can't assume anything and always put a white background square behind the icon we get from the repo
- Stop showing repo icons