Bug 500950 - window-close-symbolic icon doesn't recolor in GTK apps
Summary: window-close-symbolic icon doesn't recolor in GTK apps
Status: RESOLVED FIXED
Alias: None
Product: Breeze
Classification: Plasma
Component: Icons (other bugs)
Version First Reported In: 6.3.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: visual-design
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-02 11:15 UTC by david
Modified: 2025-03-03 01:32 UTC (History)
3 users (show)

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


Attachments
example in firefox with adwaita (5.74 KB, image/png)
2025-03-02 11:15 UTC, david
Details

Note You need to log in before you can comment on or make changes to this bug.
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