Summary: | Loading icon Dark on a Breeze Dark theme | ||
---|---|---|---|
Product: | [Plasma] Breeze | Reporter: | nili <sowt> |
Component: | Icons | Assignee: | visual-design |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | minor | CC: | kainz.a, m, nate, zerg |
Priority: | NOR | ||
Version First Reported In: | 6.4.4 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Loading... Icon
sample user report about krusader |
Too many icons became dark in breeze-dark. For example dialog-cancel.svg What app are you seeing this in? Can you write specific steps to reproduce that I can follow to the letter to make it happen? Created attachment 185041 [details]
sample
Icons from dark icon theme looks too dark when applied dark desktop theme. But looks fine on a light desktop theme.
Created attachment 185047 [details]
user report about krusader
The icons themselves re-color just fine. If this isn't happening, it means one of a few things might be happening: - You don't have plasma-integration as the Qt Platform Theme. plasma-integration is the part that uses KDE's icon loader which performs the re-coloring. qt5ct or qt6ct will not do this properly - The app might be setting its own icon loader, which would then not perform the re-coloring properly Regardless, this isn't an issue with the icons themselves. Mine [Attach] viewed from Gwenview (In reply to Nate Graham from comment #5) > - You don't have plasma-integration as the Qt Platform Theme. I have. > qt5ct or qt6ct will not do this properly Don't using. > - The app might be setting its own icon loader, which would then not perform > the re-coloring properly My code sample very simple. This only happens when I use QIcon::setThemeName("breeze_dark"); Other apps running in the same environment aren't affected. (In reply to Nate Graham from comment #5) > - You don't have plasma-integration as the Qt Platform Theme. I have a case when I need this without plasma-integration. Like run app from other user. The problem is that breeze and breeze_dark icons a both dark. "Do NOT use QIcon::setThemeName" "KIconEngine on Plasma, which breaks recoloring" https://invent.kde.org/frameworks/kiconthemes/-/blob/master/src/kiconloader.cpp?ref_type=heads#L370 So breeze_dark is not usable without plasma-integration. Plasma-integration is what turns on KDE's icon loader engine, which is the thing responsible for re-coloring icons. It works this way because icon re-coloring is not a cross-desktop spec, and there's no support for it in Qt (at least, not the way we do it). Therefore we have to do it ourselves, which means we have to use our own code to do it, which means something needs to use that code, and that something is plasma-integration. If for some reason you can't or don't want to use plasma-integration, there's a workaround: use the "Breeze Dark" icon theme. That icon theme uses a light color for the icons, so even if they don't get re-colored, they should be visible on top of a dark background. (In reply to Nate Graham from comment #12) > "Breeze Dark" icon theme. That icon theme uses a light color for the icons No. This is the problem. They are dark. It seems to be my packaging problem. In SuSE they are light. https://download.opensuse.org/tumbleweed/repo/oss/x86_64/kf6-breeze-icons-6.18.0-1.1.x86_64.rpm |
Created attachment 184800 [details] Loading... Icon SUMMARY I've noticed if a very high-resolution image ie: 12719x5782 or similar opens, i see a loading icon with a pale monochrome color. STEPS TO REPRODUCE Just open a very high-res image to make it possible to display this icon. EXPECTED RESULT I wish it had a white symbolic color on a Dark Breeze theme. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20250905 KDE Plasma Version: 6.4.4 KDE Frameworks Version: 6.17.0 Qt Version: 6.9.2 Graphics Platform: Wayland