mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 06:15:21 +01:00
[GH-ISSUE #751] Panics when interacting with duplicate tray menus #240
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#240
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 @ToxicMushroom on GitHub (Oct 20, 2024).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/751
Describe the bug
Sometimes I have duplicate tray elements, when closing 1 of them then that one dissapears. Interacting with the other one makes ironbar panic.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Ideally no duplicate tray elements appear.
But ironbar should not crash out when it can't succeed at sending a tray item a message or something.
System information:
Configuration
Not applicable
Additional context
Screenshots



2 tray items
closed gajim via 1 of them
tried to remove the other by hitting exit in the other tray item menu but panic like above:
@JakeStanger commented on GitHub (Oct 20, 2024):
Related: #640
Cheers for reporting. I'll keep this open to prioritise a fix for the crash.
@ToxicMushroom commented on GitHub (Oct 20, 2024):
Was just about to link it for you since I vaguely recalled there being one for duplicate icons :)
@ToxicMushroom commented on GitHub (Nov 3, 2024):
@JakeStanger Hi I just wanted to let you know that em https://github.com/elkowar/eww/tree/master/crates/notifier_host exists and yoinking some of their MIT code locally produced a working bar for me :3
@ToxicMushroom commented on GitHub (Nov 3, 2024):
the_tray.patch.githubdoesntaccept.patch.txt
Here's my patch that I was playing around with if you're curious, it's by no means well tested nor thought through but it might serve as a good starting point :)
@JakeStanger commented on GitHub (Nov 4, 2024):
Thanks for this. I'm going to try and tackle the tray issues this week if I can face it, so this is really useful.
I've seen you've forked both this & the tray repo in the last few days - is there anything you're picking up yourself? No worries if not, no expectation, just don't want to step on your toes :)
@JakeStanger commented on GitHub (Nov 4, 2024):
Tracking over here: https://github.com/JakeStanger/system-tray/pull/2
@ToxicMushroom commented on GitHub (Nov 4, 2024):
Happy to hear :)
I wasn't planning to pick anything up yet, I just wanted to sync my testing stuff between devices.