[GH-ISSUE #640] tray icons appear twice #1621

Closed
opened 2026-05-22 22:53:37 +01:00 by JakeStanger · 6 comments
Owner

Originally created by @zimbipw on GitHub (Jun 14, 2024).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/640

Describe the bug

The tray icons show up twice on my bar.

System information:

  • Distro: Arch Linux
  • Compositor: Hyprland
  • Ironbar version: [e.g. 0.8.0]

2024-06-14T10:07:14,979556956+02:00

Originally created by @zimbipw on GitHub (Jun 14, 2024). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/640 **Describe the bug** > The tray icons show up twice on my bar. **System information:** - Distro: Arch Linux - Compositor: Hyprland - Ironbar version: [e.g. 0.8.0] ![2024-06-14T10:07:14,979556956+02:00](https://github.com/JakeStanger/ironbar/assets/55290639/af4c0cae-25ba-4afb-b8ce-891dd2c88107)
Author
Owner

@JakeStanger commented on GitHub (Jun 14, 2024):

  • What version of Ironbar are you running?
  • Do you have any other bars/shells running?
  • How was Ironbar started?
  • Did you have any instances of Ironbar previously running before this one was opened?
<!-- gh-comment-id:2168661743 --> @JakeStanger commented on GitHub (Jun 14, 2024): - What version of Ironbar are you running? - Do you have any other bars/shells running? - How was Ironbar started? - Did you have any instances of Ironbar previously running before this one was opened?
Author
Owner

@zimbipw commented on GitHub (Jun 14, 2024):

Am Freitag, dem 14.06.2024 um 12:49 -0700 schrieb Jake Stanger:

  • What version of Ironbar are you running?
    v0.15.1.r74.gd0bdf31-1
  • Do you have any other bars/shells running?
    waybr
  • How was Ironbar started?
    from terminal
  • Did you have any instances of Ironbar previously running before
    this one was opened?
    no
<!-- gh-comment-id:2168682867 --> @zimbipw commented on GitHub (Jun 14, 2024): Am Freitag, dem 14.06.2024 um 12:49 -0700 schrieb Jake Stanger: > - What version of Ironbar are you running? v0.15.1.r74.gd0bdf31-1 > - Do you have any other bars/shells running? waybr > - How was Ironbar started? from terminal > - Did you have any instances of Ironbar previously running before > this one was opened? no >
Author
Owner

@JakeStanger commented on GitHub (Jun 14, 2024):

Okay, I'm pretty sure this is an issue with running Ironbar and Waybar at the same time, due to my tray implementation not being quite spec compliant.

I've known about this but been ignoring it and hoping it would go away, but clearly not so best I fix that.

Thanks for the additional info.

<!-- gh-comment-id:2168686530 --> @JakeStanger commented on GitHub (Jun 14, 2024): Okay, I'm pretty sure this is an issue with running Ironbar and Waybar at the same time, due to my tray implementation not being quite spec compliant. I've known about this but been ignoring it and hoping it would go away, but clearly not so best I fix that. Thanks for the additional info.
Author
Owner

@crimsonduelist commented on GitHub (Jun 15, 2024):

I was gonna make an issue for some tray behaviour as well but this seems atleast inpart related cuz I get the same doubles with udiskie especially. Also on arch and hyprland latest release.
ironbar.2024-06-15.log

Tell me if I should open separately otherwise this is what I noticed:

iron bar issue for tray ->
1.doesnt open if tray is in ironbar/config and gbar is open with tray
2.open if tray is in and waybar is open
3. it keeps the tray if opened before gbar (gbar doesnt steal it)
4. it doesnt keep tray if open before waybar (waybar steals it!) (here they stay until i close and reopen ironbar)
5. retest this some weird double icons after stealing it? and reopening

-I m not sure what I should say that should actually happen i.e. if it should keep it (like gbar does if opened first)
But definitely ironbar should handle it better? like on of the other bars does
related to #632

<!-- gh-comment-id:2170618308 --> @crimsonduelist commented on GitHub (Jun 15, 2024): I was gonna make an issue for some tray behaviour as well but this seems atleast inpart related cuz I get the same doubles with udiskie especially. Also on arch and hyprland latest release. [ironbar.2024-06-15.log](https://github.com/user-attachments/files/15853499/ironbar.2024-06-15.log) Tell me if I should open separately otherwise this is what I noticed: iron bar issue for tray -> 1.doesnt open if tray is in ironbar/config and gbar is open with tray 2.open if tray is in and waybar is open 3. it keeps the tray if opened before gbar (gbar doesnt steal it) 4. it doesnt keep tray if open before waybar (waybar steals it!) (here they stay until i close and reopen ironbar) 5. retest this some weird double icons after stealing it? and reopening -I m not sure what I should say that should actually happen i.e. if it should keep it (like gbar does if opened first) But definitely ironbar should handle it better? like on of the other bars does related to #632
Author
Owner

@nephalemsec commented on GitHub (Jul 14, 2024):

I get this issue too, but without any other bars running.

  • NixOS
  • Hyprland
  • Systemd

Only tray item affected is the network icon. It displays twice fairly consistently. I just systemctl restart --user ironbar.service until it fixes itself.
The network button also breaks my ability to type into vscode after opening/closing it. This fixes itself after moving focus to any other window.

<!-- gh-comment-id:2227372264 --> @nephalemsec commented on GitHub (Jul 14, 2024): I get this issue too, but without any other bars running. - NixOS - Hyprland - Systemd Only tray item affected is the `network` icon. It displays twice fairly consistently. I just `systemctl restart --user ironbar.service` until it fixes itself. The network button also breaks my ability to type into vscode after opening/closing it. This fixes itself after moving focus to any other window.
Author
Owner

@donovanglover commented on GitHub (Jul 18, 2024):

Can also reproduce with NixOS + udiskie and latest ironbar commit github.com/JakeStanger/ironbar@58190ab079

<!-- gh-comment-id:2237080843 --> @donovanglover commented on GitHub (Jul 18, 2024): Can also reproduce with NixOS + udiskie and latest ironbar commit https://github.com/JakeStanger/ironbar/commit/58190ab079d00dd53babb72346f1da6e1cc9ac72
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#1621
No description provided.