[GH-ISSUE #1176] [GTK-4] Missing tray icons #4575

Closed
opened 2026-05-23 00:54:17 +01:00 by JakeStanger · 3 comments
Owner

Originally created by @ToxicMushroom on GitHub (Sep 25, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1176

Describe the bug
Only some icons are displayed

Image

To reproduce

  • Run current latest ironbar gtk-4 (I think its always force pushed so referencing a commit seems unhelpful here) cargo run
  • Have a tray module in your cfg
  • Run copyq, seafile or fcitx5.

Expected behavior
ironbar to be able to show the same icons as other tray impls (waybar below):
Image

System information:

  • Distro: Arch Linux
  • Compositor: Niri
  • Ironbar version: refactor/gtk-4
Originally created by @ToxicMushroom on GitHub (Sep 25, 2025). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1176 **Describe the bug** Only some icons are displayed <img width="225" height="51" alt="Image" src="https://github.com/user-attachments/assets/30f84d49-2140-4fdc-a985-bc514a1ed80f" /> **To reproduce** - Run current latest ironbar gtk-4 (I think its always force pushed so referencing a commit seems unhelpful here) `cargo run` - Have a tray module in your cfg - Run `copyq`, `seafile` or `fcitx5`. **Expected behavior** ironbar to be able to show the same icons as other tray impls (waybar below): <img width="164" height="38" alt="Image" src="https://github.com/user-attachments/assets/8cad4e34-07d8-428e-8dba-2cd2e951ee5b" /> **System information:** - Distro: Arch Linux - Compositor: Niri - Ironbar version: refactor/gtk-4
JakeStanger 2026-05-23 00:54:17 +01:00
Author
Owner

@JakeStanger commented on GitHub (Sep 25, 2025):

Is this a regression from GTK3? Also which icon theme are you using?

<!-- gh-comment-id:3335400283 --> @JakeStanger commented on GitHub (Sep 25, 2025): Is this a regression from GTK3? Also which icon theme are you using?
Author
Owner

@ToxicMushroom commented on GitHub (Sep 25, 2025):

I unset my icon theme, yes they work with gtk-3:

Image
<!-- gh-comment-id:3335542062 --> @ToxicMushroom commented on GitHub (Sep 25, 2025): I unset my icon theme, yes they work with gtk-3: <img width="252" height="45" alt="Image" src="https://github.com/user-attachments/assets/d91cbc0e-6976-4452-bf4a-c8f6d13b4f04" />
Author
Owner

@JakeStanger commented on GitHub (Sep 28, 2025):

Fixed.

The tray protocol sends empty icon names because of course it does, and GTK4 resolves though because of course it does. Filtered those out so it correctly loads the provided pixbuf. Also included a fix that means if multiple resolutions are provided, it should pick the correct one.

<!-- gh-comment-id:3343001639 --> @JakeStanger commented on GitHub (Sep 28, 2025): Fixed. The tray protocol sends empty icon names because of course it does, and GTK4 resolves though because of course it does. Filtered those out so it correctly loads the provided pixbuf. Also included a fix that means if multiple resolutions are provided, it should pick the correct one.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#4575
No description provided.