Bug 500950

Summary: window-close-symbolic icon doesn't recolor in GTK apps
Product: [Plasma] Breeze Reporter: david <12davidkac>
Component: IconsAssignee: visual-design
Status: RESOLVED FIXED    
Severity: normal CC: kainz.a, m, nate
Priority: NOR    
Version First Reported In: 6.3.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 6.12
Sentry Crash Report:
Attachments: example in firefox with adwaita

Description david 2025-03-02 11:15:14 UTC
Created attachment 179037 [details]
example in firefox with adwaita

SUMMARY
The new window-close-symbolic icon from plasma 6.3 doesn't follow the colorscheme. This is because the svg icon is using stroke for fill, and not a path. This can be fixed with Inkscape's "stroke to path".

STEPS TO REPRODUCE
1. Use GTK theme that uses system icons for CSD, like Adwaita
2. Set GTK theme to light and icon theme to dark (or vice versa) 
3. Open a GTK app that uses CSD

OBSERVED RESULT
The close icon is not visible, while minimize and maximize are. 

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.3.2
Comment 1 Nate Graham 2025-03-03 01:31:58 UTC
Git commit 6a682d776992a11ec8c1ec3f7f75e383299691a4 by Nate Graham.
Committed on 03/03/2025 at 01:31.
Pushed by ngraham into branch 'master'.

Let the GNOME icon loader re-color our window-close icons

Apprently it doesn't handle strokes.
FIXED-IN: 6.12

M  +15   -12   icons/actions/16/window-close.svg
M  +15   -12   icons/actions/22/window-close.svg
M  +14   -12   icons/actions/32/window-close.svg

https://invent.kde.org/frameworks/breeze-icons/-/commit/6a682d776992a11ec8c1ec3f7f75e383299691a4