Bug 482648 - With Breeze Dark icon theme and >100% display scaling, Symbolic icons are not shown
Summary: With Breeze Dark icon theme and >100% display scaling, Symbolic icons are not...
Status: RESOLVED FIXED
Alias: None
Product: Breeze
Classification: Plasma
Component: Icons (show other bugs)
Version: 6.0.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: visual-design
URL:
Keywords: qt6, regression
: 478227 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-07 05:56 UTC by jturtle_spammy
Modified: 2024-12-14 14:18 UTC (History)
14 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.9
Sentry Crash Report:


Attachments
Dark Theme, 125% scale. Notice the colored icons. (184.68 KB, image/png)
2024-03-07 05:56 UTC, jturtle_spammy
Details
Dark Theme, 150% scale. Even more colored icons! (238.72 KB, image/png)
2024-03-07 06:01 UTC, jturtle_spammy
Details
Video demo of switching light/dark themes. Display is at 200% scale (Wayland) (1.66 MB, video/mp4)
2024-04-27 14:25 UTC, Luke Horwell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jturtle_spammy 2024-03-07 05:56:36 UTC
Created attachment 166542 [details]
Dark Theme, 125% scale. Notice the colored icons.

SUMMARY
When using the Breeze Dark theme, with a display scale greater than 100% (e.g. 125% and 150%), Dolphin shows the colored icons, where it shows the symbolic icons when using either Breeze Light, or 100% scale.
Additionally, my Framework laptop (screen size 2256x1504 pixels/3:2, also up-to-date Arch Linux), at 150% scaling, will show colored icons only for "special" folders, i.e. ~/Desktop, ~/Documents, Trash, etc. I couldn't reproduce this on my 1080p display.

STEPS TO REPRODUCE
1. Open Dolphin with the Breeze Dark global theme active, and a display scale of 125% or 150%.
2. Use "Details" view mode at minimum zoom level for most obvious results.
3. Well, just look at it.

OBSERVED RESULT
Small icons will use the full-color Breeze Dark icons

EXPECTED RESULT
Small icons will use Symbolic icons.

SOFTWARE/OS VERSIONS
OS: Arch Linux (Rolling release; Fully up-to-date)
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Display: 1920x1080

ADDITIONAL INFORMATION
Tested only on Wayland.
Tested with a new user with completely default settings, except for Theme (from Quick Settings) and Display Scale (from Display & Monitor).
This was not present in Plasma 5.27.X, has only manifested after upgrading to Plasma 6.0.1
Comment 1 jturtle_spammy 2024-03-07 06:01:39 UTC
Created attachment 166545 [details]
Dark Theme, 150% scale. Even more colored icons!

Forgot to test 150% scale at 1080p. Please disregard the "unable to reproduce" claim, this is exactly the behavior observed on the Framework.
Comment 2 Luke Horwell 2024-04-17 17:04:45 UTC
Can confirm the bug happens on X11 too.

I observe that symbolic icons do render correctly at 200% monitor scale in Dolphin's sidebar and home folder list view if the regular "Breeze" icon theme is used (requires re-opening Dolphin). Although it's not a great workaround since using "Breeze" icons under a "Breeze Dark" style would result in dark icons for GTK applications.
Comment 3 Nate Graham 2024-04-26 16:39:43 UTC
I can't reproduce the issue when I follow the steps to reproduce exactly as written with current git master of everything.

Does it happen for you in a new clean user account?

Does it happen in any other apps besides Dolphin?

Does it happen with Frameworks 6.1?
Comment 4 Luke Horwell 2024-04-27 14:25:28 UTC
Created attachment 168947 [details]
Video demo of switching light/dark themes. Display is at 200% scale (Wayland)

It's still happening in the current release versions (on Arch Linux, rolling). Can reproduce in a new user account too.

KDE Plasma 6.0.4
KDE Frameworks 6.2.0
Qt 6.7.0
Wayland and X11

In addition to dolphin, other apps include:
- Gwenview's Places sidebar (e.g. when icons set to 16x16)
- Open/Save file dialog chooser

I did come across something strange. At first, I thought where the theme is changed made a difference:
(1) System Settings (Home) → "Breeze Dark"
(2) System Settings → Colors & Themes → Global Theme / Icons → "Breeze Dark"

Turns out if switching themes, the icons may look correct, but hovering over the program reloads into the wrong (colour) icons. Sometimes it'll be right, but broken thereafter by restarting the program (like with "Details" view in Dolphin). Attached is a screen capture of some of the weirdness.

It seems to be the icon theme itself ("Breeze Dark") that has the issue - but only when display scaling is set above 100% (regardless of screen resolution). If I get time, I'll see if I can Neon running in a container (distrobox) to check the current git versions.
Comment 5 Nate Graham 2024-04-29 19:44:30 UTC
I can reproduce the issue with Qt 6.7 now. I was unable to with 6.6; I fear this is a Qt 6.7 regression somehow.

Anyway, the steps to reproduce are now very simple:

1. Open Dolphin
2. Open System Settings > Colors & Themes > Icons > Breeze Dark > Apply
3,. Move cursor over Dolphin's Places Panel

Boom, non-symbolic icons.
Comment 6 Nate Graham 2024-05-08 21:23:21 UTC
*** Bug 478227 has been marked as a duplicate of this bug. ***
Comment 7 Sam Duan 2024-07-07 07:01:20 UTC
(In reply to Nate Graham from comment #5)
> I can reproduce the issue with Qt 6.7 now. I was unable to with 6.6; I fear
> this is a Qt 6.7 regression somehow.
> 
> Anyway, the steps to reproduce are now very simple:
> 
> 1. Open Dolphin
> 2. Open System Settings > Colors & Themes > Icons > Breeze Dark > Apply
> 3,. Move cursor over Dolphin's Places Panel
> 
> Boom, non-symbolic icons.

Sorry to restart the conversation now, but I don't think the problem is only related to Qt 6.7 though. Using a 4k screen at 200% zooming (on Wayland) myself with openSUSE Tumbleweed, this problem can be reproduced since day one when Plasma 6.0 pushed into Tumbleweed's repo. Also the bug only affects the dark icon theme.
Comment 8 Nate Graham 2024-08-31 04:22:54 UTC
I think I see the problem here. Breeze Dark has an index.theme file that's drifted out of sync with that of Breeze over time. So probably this was an issue with Breeze too, we fixed it, and we forgot to apply the fix to Breeze Dark.
Comment 9 Nate Graham 2024-08-31 04:36:44 UTC
And the specific issue is that the 16@2x and 22@2x directories aren't being created for Breeze Dark.
Comment 10 Nate Graham 2024-08-31 04:46:19 UTC
Syncing the index.theme files (except for UI strings and the Inherits= line) doesn't seem to make a difference. Maybe this is a CMake issue?

Probably needs someone with more experience to investigate further at this point.
Comment 11 guimarcalsilva 2024-10-11 06:55:19 UTC
I'm experiencing this bug at 100% scale on Kickoff (the bug title should probably be changed?). The new symbolic-only icons on Breeze Dark don't show up, instead it shows the old colorful icons. If I switch to Breeze Light the symbolic versions appear. The system was upgraded from Plasma 6.1.5 to 6.2

Operating System: Fedora Linux 40
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.10.12-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i3-1005G1 CPU @ 1.20GHz
Memory: 11.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: HP
Product Name: HP 246 G7 Notebook PC
Comment 12 Nate Graham 2024-10-15 22:27:19 UTC
The issue in Kickoff is Bug 494399, which is fixed now. Unfortunately it didn't fix this too. I suspect this one has a similar root cause, though.
Comment 13 David Redondo 2024-10-25 12:18:19 UTC
(In reply to Nate Graham from comment #10)
> Syncing the index.theme files (except for UI strings and the Inherits= line)
> doesn't seem to make a difference. Maybe this is a CMake issue?
> 
> Probably needs someone with more experience to investigate further at this
> point.

I cannot reproduce this
- screen set to 150% 
- icon theme breeze-dark

Could it have been fixed by the index.theme sync after all but dolphin was still running?
Comment 14 Nate Graham 2024-10-26 00:33:00 UTC
I'm still able to experience the issue on both of my KDE Linux machines, which are built from master and installed to /, so no dev session shenanigans going on there. I'm confused by how you can't reproduce it. :/
Comment 15 Christopher Smith 2024-10-27 05:11:49 UTC Comment hidden (spam)
Comment 16 Nate Graham 2024-10-28 14:39:44 UTC Comment hidden (spam)
Comment 17 David Redondo 2024-11-15 07:47:15 UTC
I just tried again and I can't reproduce. I wonder if the "wrong" icons are cached?
.cache/icon-cache.kcache
Comment 18 Nate Graham 2024-11-15 16:54:20 UTC
I can still reproduce it. I'll show you in person the next time we meet up.
Comment 19 Sam Duan 2024-11-16 05:40:08 UTC
It seems that I need to set the icon theme to Breeze Dark first, then cleaning all KDE related caches including the icon cache. After that and a reboot, the bug is eliminated. However, there was a system upgrade on my laptop before restart, so I don't know if that could bring the fixes to me.
These cache files include:
~/.cache/ksycoca6_*
~/.cache/qt_compose_cache_*
~/.cache/plasma-svgelements-*
~/.cache/plasma_theme_*
~/.cache/icon-cache.kcache
Comment 20 Bug Janitor Service 2024-12-03 15:40:26 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/breeze-icons/-/merge_requests/434
Comment 21 David Redondo 2024-12-03 16:16:01 UTC
Git commit 134b3c70341826066bb0b2bbd2fdd65651c08e79 by David Redondo.
Committed on 03/12/2024 at 15:34.
Pushed by ngraham into branch 'master'.

Bring back directory symlinks for breeze-dark

These got lost when breeze-dark switched to install icons from the icons folder.
FIXED-IN:6.9

A  +1    -0    icons-dark/actions/32@2x
A  +1    -0    icons-dark/actions/32@3x
A  +1    -0    icons-dark/animations/16@2x
A  +1    -0    icons-dark/animations/16@3x
A  +1    -0    icons-dark/apps/16@2x
A  +1    -0    icons-dark/apps/16@3x
A  +1    -0    icons-dark/apps/22@2x
A  +1    -0    icons-dark/apps/22@3x
A  +1    -0    icons-dark/devices/16@2x
A  +1    -0    icons-dark/devices/16@3x
A  +1    -0    icons-dark/devices/22@2x
A  +1    -0    icons-dark/devices/22@3x
A  +1    -0    icons-dark/emblems/16@2x
A  +1    -0    icons-dark/emblems/16@3x
A  +1    -0    icons-dark/emblems/22@2x
A  +1    -0    icons-dark/emblems/22@3x
A  +1    -0    icons-dark/emotes/22@2x
A  +1    -0    icons-dark/emotes/22@3x
A  +1    -0    icons-dark/mimetypes/16@2x
A  +1    -0    icons-dark/mimetypes/16@3x
A  +1    -0    icons-dark/mimetypes/22@2x
A  +1    -0    icons-dark/mimetypes/22@3x
A  +1    -0    icons-dark/places/16@2x
A  +1    -0    icons-dark/places/16@3x
A  +1    -0    icons-dark/places/22@2x
A  +1    -0    icons-dark/places/22@3x
A  +1    -0    icons-dark/status/16@2x
A  +1    -0    icons-dark/status/16@3x
A  +1    -0    icons-dark/status/22@2x
A  +1    -0    icons-dark/status/22@3x

https://invent.kde.org/frameworks/breeze-icons/-/commit/134b3c70341826066bb0b2bbd2fdd65651c08e79