[GH-ISSUE #854] Tray icons of closed programs reappear when bar is reloaded #3072

Open
opened 2026-05-22 23:53:52 +01:00 by JakeStanger · 3 comments
Owner

Originally created by @BowDown097 on GitHub (Jan 29, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/854

Describe the bug
As the title says. Additionally, the bugged tray icon always has an empty menu and does not go away until the bar's process is restarted completely. It also does not duplicate on every reload.

To Reproduce
Steps to reproduce the behavior:

  1. Open program that has a tray icon
  2. Close the program
  3. Reload with ironbar reload
  4. Tray icon reappears

Expected behavior
Tray icon stays gone after reloads.

System information:

  • Distro: Artix Linux
  • Compositor: Wayfire
  • Ironbar version: 0.16.1

Configuration

Share your bar configuration and stylesheet as applicable:

Config
[[end]]
type = "tray"
icon_size = 26
Styles
.tray {
    margin-right: 24px;
}

Additional context

Add any other context about the problem here.

Screenshots
Image
There are 4 Telegram icons here following a few reloads. I do not have Telegram open at all.

Originally created by @BowDown097 on GitHub (Jan 29, 2025). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/854 **Describe the bug** As the title says. Additionally, the bugged tray icon always has an empty menu and does not go away until the bar's process is restarted completely. It also does not duplicate on every reload. **To Reproduce** Steps to reproduce the behavior: 1. Open program that has a tray icon 2. Close the program 3. Reload with ``ironbar reload`` 4. Tray icon reappears **Expected behavior** Tray icon stays gone after reloads. **System information:** - Distro: Artix Linux - Compositor: Wayfire - Ironbar version: 0.16.1 **Configuration** > Share your bar configuration and stylesheet as applicable: <details><summary>Config</summary> ``` [[end]] type = "tray" icon_size = 26 ``` </details> <details><summary>Styles</summary> ```css .tray { margin-right: 24px; } ``` </details> **Additional context** > Add any other context about the problem here. **Screenshots** ![Image](https://github.com/user-attachments/assets/b45d592a-642a-4164-bb25-d525ac37f04b) There are 4 Telegram icons here following a few reloads. I do not have Telegram open at all.
Author
Owner

@JakeStanger commented on GitHub (Feb 8, 2025):

In theory #865 should fix this as it includes an update for the system-tray crate with a fix included.

<!-- gh-comment-id:2644423288 --> @JakeStanger commented on GitHub (Feb 8, 2025): In theory #865 should fix this as it includes an update for the `system-tray` crate with a fix included.
Author
Owner

@JakeStanger commented on GitHub (Feb 15, 2025):

Nah, still occurring :(

<!-- gh-comment-id:2661148871 --> @JakeStanger commented on GitHub (Feb 15, 2025): Nah, still occurring :(
Author
Owner

@jficz commented on GitHub (Jan 15, 2026):

Tried to replicate with Element-desktop and Slack but it didn't manifest. Latest flake. (2026-01-12 as reported by Nix)

<!-- gh-comment-id:3754861299 --> @jficz commented on GitHub (Jan 15, 2026): Tried to replicate with Element-desktop and Slack but it didn't manifest. Latest flake. (2026-01-12 as reported by Nix)
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#3072
No description provided.