Avalonia
Avalonia copied to clipboard
Tmds.DBus.Protocol.DBusException when hovering from a Datagrid Popup
Describe the bug
Hello, this might be (somewhat) related to: https://github.com/AvaloniaUI/Avalonia/issues/12281#issuecomment-2082142152
I'm using the latest Avalonia 11.1.0-beta2 from nuget but this problem persists since at least 11.0.7. I am running Fedora 40 with Gnome and Wayland.
Here you can find a minimal sample of the problem: https://github.com/erythana/DBusExceptionMinimalSample/tree/master
When you hover over the datagrid, a popup is shown. When you hover away (to another line or out of the grid), this exception is shown in the Debug Window:
[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 #54787541)
This results in a short stutter in the UI.
Also, i am pretty sure this issue did not occur on nightly "11.1.999-cibuild0045778-beta" from avalonias nuget reference.
To Reproduce
Open program Hover over Datagrid-Line Check Debug Output
Expected behavior
No exception when hovering away from an tooltip
Avalonia version
11.0.7, 11.1.0-beta1, 11.1.0-beta2
OS
Linux
Additional context
No response
Hello @maxkatz6
Do you have any news on this? If i recall correctly, it was fixed in https://github.com/AvaloniaUI/Avalonia/pull/14548#issuecomment-1934755210 but it seems it won't work in the latest builds.