mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 09:15:22 +01:00
[PR #1429] [MERGED] fix(tray): preserve tooltip when icon widget changes #6985
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#6985
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?
📋 Pull Request Information
Original PR: https://github.com/JakeStanger/ironbar/pull/1429
Author: @nazya
Created: 3/23/2026
Status: ✅ Merged
Merged: 3/28/2026
Merged by: @JakeStanger
Base:
master← Head:fix/tray-tooltip-after-icon-update📝 Commits (1)
b310ce3fix(tray): preserve tooltip when icon widget changes📊 Changes
1 file changed (+8 additions, -2 deletions)
View changed files
📝
src/modules/tray/interface.rs(+8 -2)📄 Description
UpdateEvent::Iconrebuilds the tray image widget viaset_image().When that happens, the old widget is removed and the new
Picturedoes not inherit the existing tooltip.As a result, tray item tooltips can disappear after an icon change and stop appearing on later hover events.
What this changes
Picture.Buttonso tooltip state survives child widget replacement.Reproduction
StatusNotifierItemthat updatesIconNamedynamically.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.