[GH-ISSUE #1456] tray icons not displaying #8872

Closed
opened 2026-05-23 03:54:49 +01:00 by JakeStanger · 2 comments
Owner

Originally created by @quietvoid on GitHub (Apr 15, 2026).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1456

Describe the bug
The tray icons disappeared in latest commit 0b04577a91
Seems caused by #1397.

To reproduce
Steps to reproduce the behavior:

  1. Start ironbar

Expected behavior
The tray should work correctly.

System information:

  • Distro: Arch Linux
  • Compositor: Sway
  • Ironbar version: ironbar-git 0.18.0.r194.g0b04577-1

Configuration
Basic tray config.

Config
$tray = {
    type = "tray"
    icon_size = 24
}

Additional context
There are many errors in logs:

2026-04-15T12:20:39.296319Z ERROR ironbar::logging: 44: The application panicked (crashed).
Message:  label widget to exist after set_label
Location: src/modules/tray/mod.rs:425

2026-04-15T12:20:39.371513Z ERROR ironbar::logging: 44: The application panicked (crashed).
Message:  Failed to send message to channel: SendError(Add(":1.24", StatusNotifierItem { id: "tray-id", category: ApplicationStatus, title: Some("sunshine"), status: Active, window_id: 0, icon_theme_path: Some(""), icon_name: Some("sunshine-tray"), icon_pixmap: None, overlay_icon_name: None, overlay_icon_pixmap: None, attention_icon_name: Some(""), attention_icon_pixmap: None, attention_movie_name: None, tool_tip: None, item_is_menu: false, menu: Some("/org/ayatana/NotificationItem/tray_id/Menu") }))
Location: src/channels.rs:33
Originally created by @quietvoid on GitHub (Apr 15, 2026). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1456 **Describe the bug** The tray icons disappeared in latest commit 0b04577a91f376f86a667ba94a12966d927fb359 Seems caused by #1397. **To reproduce** Steps to reproduce the behavior: 1. Start ironbar **Expected behavior** The tray should work correctly. **System information:** - Distro: Arch Linux - Compositor: Sway - Ironbar version: ironbar-git 0.18.0.r194.g0b04577-1 **Configuration** Basic tray config. <details><summary>Config</summary> ``` $tray = { type = "tray" icon_size = 24 } ``` </details> **Additional context** There are many errors in logs: ``` 2026-04-15T12:20:39.296319Z ERROR ironbar::logging: 44: The application panicked (crashed). Message: label widget to exist after set_label Location: src/modules/tray/mod.rs:425 2026-04-15T12:20:39.371513Z ERROR ironbar::logging: 44: The application panicked (crashed). Message: Failed to send message to channel: SendError(Add(":1.24", StatusNotifierItem { id: "tray-id", category: ApplicationStatus, title: Some("sunshine"), status: Active, window_id: 0, icon_theme_path: Some(""), icon_name: Some("sunshine-tray"), icon_pixmap: None, overlay_icon_name: None, overlay_icon_pixmap: None, attention_icon_name: Some(""), attention_icon_pixmap: None, attention_movie_name: None, tool_tip: None, item_is_menu: false, menu: Some("/org/ayatana/NotificationItem/tray_id/Menu") })) Location: src/channels.rs:33 ```
JakeStanger 2026-05-23 03:54:49 +01:00
Author
Owner

@JakeStanger commented on GitHub (Apr 15, 2026):

Fix on the way, apologies for that

<!-- gh-comment-id:4254906795 --> @JakeStanger commented on GitHub (Apr 15, 2026): Fix on the way, apologies for that
Author
Owner

@quietvoid commented on GitHub (Apr 15, 2026):

Thanks, it seems to work now.

<!-- gh-comment-id:4255277552 --> @quietvoid commented on GitHub (Apr 15, 2026): Thanks, it seems to work now.
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#8872
No description provided.