timschneeb / GalaxyBudsClient

Unofficial Galaxy Buds Manager for Windows, macOS, and Linux
GNU General Public License v3.0
3.27k stars 181 forks source link

[BUG] Flatpak version's menubar icon disappears after opening / closing the menu few times #504

Open sidevesh opened 1 month ago

sidevesh commented 1 month ago

Describe the bug
If the menu bar icon of the flatpak app is opened and closed a few times, then the icon vanishes, running the app from the flatpak runtime in console to see the error, I see following error when this happens:

** (process:38262): WARNING **: 17:23:02.912: Invalid client serial

To Reproduce
Start the flatpak packaged app Click on menu bar icon and close it Repeat few times till it disappears

Expected behavior
Menu bar icon should not disappears

Desktop (please complete the following information):

Another error I saw when closing the app window that may be relevant:

[IME] Error while destroying the context:
Tmds.DBus.Protocol.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method Destroy is not implemented on interface org.freedesktop.IBus.Service
   at Tmds.DBus.Protocol.DBusConnection.MyValueTaskSource`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at Tmds.DBus.Protocol.DBusConnection.CallMethodAsync(MessageBuffer message)
   at Tmds.DBus.Protocol.Connection.CallMethodAsync(MessageBuffer message)
   at Avalonia.FreeDesktop.DBusIme.DBusTextInputMethodBase.Dispose() (IBusX11TextInputMethod #13780214)
[17:23:01 INF] MainWindow.TitleBar: Close requested, minimizing to tray bar