[V3] Fix Linux systray updates (#4615)

* linux: Refresh the menu when it's set so dbus ever finds out

* changelog

* obey the rabbit
This commit is contained in:
Jack Doan 2025-10-02 22:39:41 -05:00 committed by GitHub
commit 84fcd705cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -23,6 +23,7 @@ After processing, the content will be moved to the main changelog and this file
## Fixed
<!-- Bug fixes -->
- Fixed systray menu updates on Linux [#4604](https://github.com/wailsapp/wails/issues/4604) by [@JackDoan](https://github.com/JackDoan)
## Deprecated
<!-- Soon-to-be removed features -->

View file

@ -222,6 +222,7 @@ func (s *linuxSystemTray) setMenu(menu *Menu) {
menu.processRadioGroups()
s.processMenu(menu, 0)
s.menu = menu
s.refresh()
}
func (s *linuxSystemTray) positionWindow(window Window, offset int) error {