mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 07:15:19 +01:00
[GH-ISSUE #2] Can only have 1 instance of icon tray at a time #5626
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#5626
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JakeStanger on GitHub (Aug 14, 2022).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/2
Adding the icon tray to multiple bars (for multi-monitor) throws exceptions, and only the first added one shows.
@JakeStanger commented on GitHub (Aug 25, 2022):
Now that Sway is using lazy_static & broadcast channels, same method could be employed here
@JakeStanger commented on GitHub (Sep 25, 2022):
#19 introduces a partial fix for this. Module instances all now share the same dbus client, so all receive the same events post-startup.
Unfortunately since the the tray is initialised when the first instance loads, this means only the first monitor will receive the full list of icons on startup currently.
@JakeStanger commented on GitHub (Jan 30, 2023):
It's still not guaranteed that the icon tray will be fully loaded due to some race condition, but #60 at least guarantees all the icons will be the same across all trays.