Skip to content

Tmds.DBus.Protocol.DBusException when hovering from a Datagrid Popup #15551

Description

@erythana

Describe the bug

Hello,
this might be (somewhat) related to: #12281 (comment)

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions