[PR #788] [MERGED] tray: prevent widget buttons from piling up #7971

Closed
opened 2026-05-23 02:56:17 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/788
Author: @cmeissl
Created: 11/19/2024
Status: Merged
Merged: 11/19/2024
Merged by: @JakeStanger

Base: masterHead: fix/duplicate_tray_popups


📝 Commits (1)

  • 5d18f40 tray: prevent widget buttons from piling up

📊 Changes

1 file changed (+8 additions, -2 deletions)

View changed files

📝 src/modules/tray/interface.rs (+8 -2)

📄 Description

each call to set_menu_widget registered a new event handler, resulting in multiple popups to be created. each popup tried to issue a grab with the same serial.
prevent this by disconnecting any previously registered handler.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JakeStanger/ironbar/pull/788 **Author:** [@cmeissl](https://github.com/cmeissl) **Created:** 11/19/2024 **Status:** ✅ Merged **Merged:** 11/19/2024 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `fix/duplicate_tray_popups` --- ### 📝 Commits (1) - [`5d18f40`](https://github.com/JakeStanger/ironbar/commit/5d18f4090fc97f05aea395ac0a8058b10d78ce8c) tray: prevent widget buttons from piling up ### 📊 Changes **1 file changed** (+8 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/modules/tray/interface.rs` (+8 -2) </details> ### 📄 Description each call to set_menu_widget registered a new event handler, resulting in multiple popups to be created. each popup tried to issue a grab with the same serial. prevent this by disconnecting any previously registered handler. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-23 02:56:17 +01:00
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#7971
No description provided.