Skip to content

Fix some symbolic icons not rendering in Gtk4 - #541

Open
newhoa wants to merge 1 commit into
shimmerproject:masterfrom
newhoa:gtk4-symbolic-fix
Open

Fix some symbolic icons not rendering in Gtk4#541
newhoa wants to merge 1 commit into
shimmerproject:masterfrom
newhoa:gtk4-symbolic-fix

Conversation

@newhoa

@newhoa newhoa commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This ungroups elements in a lot of symbolic icons as Gtk4 is not rendering icons with grouped elements correctly. While this is really a Gtk4 issue, this should resolve the issue on our end for now.

The method for this was to use some scripts I created to render the icons in Gtk4, make a file list of non-rendering icons, then run this command on them:

xargs -d '\n' -I {} inkscape "{}" --actions="select-all:all; selection-ungroup" --export-overwrite --export-filename="{}" < files.txt

If anyone could test this out I'd appreciate it but they seem to render fine now for me in my test script and in gtk4-widget-factory and gtk4-demo using Debian unstable and Gtk 4.22.4

Thanks!

Fixes #539

This ungroups elements in a lot of symbolic icons as
Gtk4 is not rendering icons with grouped elements correctly.
While this is really a Gtk4 issue, this should
resolve the issue on our end for now.

Fixes shimmerproject#539
@Skif-off

Skif-off commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

GTK 4.16 - works fine.
GTK 4.18 - works fine.
GTK 4.22 - broken. WTF?.. Why are they doing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing icons

2 participants