[GH-ISSUE #1191] AppIndicator3 Tray Icons don't disappear when status set to PASSIVE #359

Closed
opened 2026-05-22 21:52:48 +01:00 by JakeStanger · 1 comment
Owner

Originally created by @Gigahawk on GitHub (Oct 10, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1191

Describe the bug

AppIndicator3 tray icons are shown even when status is set to PASSIVE.

This is similar to https://github.com/Alexays/Waybar/issues/4542 but here the icon doesn't disappear at all

To reproduce
Steps to reproduce the behavior:

  1. Add module tray
  2. Run udiskie with tray set to auto(or presumably another application using libappindicator icons)
  3. udiskie tray icon is persistently shown even when no drive is inserted.

Expected behavior

AppIndicator3 icons should only be displayed when their status is set to ACTIVE.

System information:

  • Distro: NixOS
  • Compositor: hyprland
  • Ironbar version: git bd6b5a

Configuration

Config
  programs.ironbar = {
    enable = true;
    config = {
      start = [
        {
          type = "tray";
        }
        {
          type = "workspaces";
        }
      ];
      center = [ ];
      end = [ ];
    };
  };
Styles

Additional context

Screenshots
Waybar issue can be seen in top left, ironbar issue on bottom left.

Image
Originally created by @Gigahawk on GitHub (Oct 10, 2025). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1191 **Describe the bug** AppIndicator3 tray icons are shown even when status is set to PASSIVE. This is similar to https://github.com/Alexays/Waybar/issues/4542 but here the icon doesn't disappear at all **To reproduce** Steps to reproduce the behavior: 1. Add module `tray` 2. Run udiskie with tray set to auto(or presumably another application using libappindicator icons) 3. udiskie tray icon is persistently shown even when no drive is inserted. **Expected behavior** AppIndicator3 icons should only be displayed when their status is set to ACTIVE. **System information:** - Distro: NixOS - Compositor: hyprland - Ironbar version: git bd6b5a **Configuration** <!-- Share your bar configuration and stylesheet as applicable: --> <details><summary>Config</summary> ``` programs.ironbar = { enable = true; config = { start = [ { type = "tray"; } { type = "workspaces"; } ]; center = [ ]; end = [ ]; }; }; ``` </details> <details><summary>Styles</summary> ```css ``` </details> **Additional context** <!-- Add any other context about the problem here. --> **Screenshots** Waybar issue can be seen in top left, ironbar issue on bottom left. <img width="1366" height="768" alt="Image" src="https://github.com/user-attachments/assets/77caaac3-1355-4894-8a77-4689440e98a5" />
Author
Owner

@JakeStanger commented on GitHub (Oct 10, 2025):

Finally, a tray issue with an easy fix. I think status just throws a warning saying it's not implemented currently because I had no idea what it was for. Should be able to get that sorted fairly easily.

github.com/JakeStanger/ironbar@bd6b5a1d20/src/modules/tray/mod.rs (L213-L215)

<!-- gh-comment-id:3389910686 --> @JakeStanger commented on GitHub (Oct 10, 2025): Finally, a tray issue with an easy fix. I think `status` just throws a warning saying it's not implemented currently because I had no idea what it was for. Should be able to get that sorted fairly easily. https://github.com/JakeStanger/ironbar/blob/bd6b5a1d207093673c5069d1b59d2fb8901c8fd5/src/modules/tray/mod.rs#L213-L215
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#359
No description provided.