Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
erythana opened this issue Apr 29, 2024 · 2 comments
Open

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

erythana opened this issue Apr 29, 2024 · 2 comments
Assignees

Comments

@erythana
Copy link

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

@erythana
Copy link
Author

Hello @maxkatz6

Do you have any news on this? If i recall correctly, it was fixed in
#14548 (comment)
but it seems it won't work in the latest builds.

@xecrets
Copy link

xecrets commented Nov 23, 2024

Still there in 11.2.1

[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 #12156768)

To reproduce, enable a tool tip, hover over the control and when exiting the control and the tool tip is hidden this is logged.

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

No branches or pull requests

4 participants