Bug 431475 - Monochrome icons become colorful at >200% scale
Summary: Monochrome icons become colorful at >200% scale
Alias: None
Product: frameworks-kiconthemes
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.78.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Christoph Feck
Depends on:
Reported: 2021-01-12 08:20 UTC by Clément Labadie
Modified: 2021-01-17 00:22 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.79

Left: places icons at 225% scaling and above. Right: places symbolic icons at 200% scaling. (352.06 KB, image/png)
2021-01-12 08:20 UTC, Clément Labadie

Note You need to log in before you can comment on or make changes to this bug.
Description Clément Labadie 2021-01-12 08:20:50 UTC
Created attachment 134759 [details]
Left: places icons at 225% scaling and above. Right: places symbolic icons at 200% scaling.

When the global scaling factor is set above 200%, symbolic (line-art) places icons in Dolphin do not scale and are replaced by "regular" folder icons.

It is possible to manually re-assign symbolic icons (right click > change) as a workaround, but some of them are not available as standalone symbolic icons (i.e., desktop, network) and others cannot be changed this way (i.e., trash, hard drives).

1. Set global scale above 200% in Display Settings (tested with 225, 250, 300).
2. Log out and back in.
3. Launch Dolphin.

Icons in the places panel are displayed as "regular" folder icons (s. attachment, left side).

Icons in the places panel should be displayed as symbolic line-art icons (s. attachment, right side).

KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Operating System: openSUSE Tumbleweed 20210108
OS type: 64-bit
Processors: 8 x Intel Core i7-1065G7
Graphics: Mesa DRI Intel Iris Plus Graphics (ICL GT2)
Comment 1 Nate Graham 2021-01-12 17:37:15 UTC
Can confirm with >200% scaling. It affects more than just Dolphin's Places panel sidebar; it's everywhere for all monochrome icons that have colorful versions at 32px size. Moving to KIconThemes, which is I believe where KIconLoader lives.

I tried to work around it with https://invent.kde.org/frameworks/breeze-icons/-/merge_requests/3 but I failed. Maybe someone else can figure out why it didn't work.
Comment 2 Kai Uwe Broulik 2021-01-12 18:14:17 UTC
There's some name mixup with the directories, will fix
Comment 3 Bug Janitor Service 2021-01-12 18:19:32 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/breeze-icons/-/merge_requests/73
Comment 4 Kai Uwe Broulik 2021-01-16 20:44:33 UTC
Git commit 3c80596eb21ca6493c5affa813666a70784cc564 by Kai Uwe Broulik.
Committed on 16/01/2021 at 19:21.
Pushed by broulik into branch 'master'.

Fix @3x icons

The directory names were e.g. "16x@3x" but were referenced as "16@3x" causing it not to find the icons.

R  +0    -0    icons/actions/16@3x [from: icons/actions/16x@3x - 100% similarity]
R  +0    -0    icons/actions/22@3x [from: icons/actions/22x@3x - 100% similarity]
R  +0    -0    icons/actions/32@3x [from: icons/actions/32x@3x - 100% similarity]
R  +0    -0    icons/animations/16@3x [from: icons/animations/16x@3x - 100% similarity]
R  +0    -0    icons/apps/16@3x [from: icons/apps/16x@3x - 100% similarity]
R  +0    -0    icons/apps/22@3x [from: icons/apps/22x@3x - 100% similarity]
R  +0    -0    icons/devices/16@3x [from: icons/devices/16x@3x - 100% similarity]
R  +0    -0    icons/devices/22@3x [from: icons/devices/22x@3x - 100% similarity]
R  +0    -0    icons/emblems/16@3x [from: icons/emblems/16x@3x - 100% similarity]
R  +0    -0    icons/emblems/22@3x [from: icons/emblems/22x@3x - 100% similarity]
R  +0    -0    icons/emotes/22@3x [from: icons/emotes/22x@3x - 100% similarity]
R  +0    -0    icons/mimetypes/16@3x [from: icons/mimetypes/16x@3x - 100% similarity]
R  +0    -0    icons/mimetypes/22@3x [from: icons/mimetypes/22x@3x - 100% similarity]
R  +0    -0    icons/places/16@3x [from: icons/places/16x@3x - 100% similarity]
R  +0    -0    icons/places/22@3x [from: icons/places/22x@3x - 100% similarity]
R  +0    -0    icons/status/16@3x [from: icons/status/16x@3x - 100% similarity]
R  +0    -0    icons/status/22@3x [from: icons/status/22x@3x - 100% similarity]