Open Vladyslav-vm opened 1 year ago
Keyboard focus integration isn't supported for X11 (we don't implement XEmbed yet)
Could you please describe how to organize focus transfer between NativeControlHost
and an embedded window without XEmbed
?
Which approaches do you support?
Describe the bug The application is stopped with the exit code 0 if the focus is moved from
NativeControlHost
to the AvaloniaTextBox
control and something is typed.To Reproduce Steps to reproduce the behavior:
Download the attached sample HostingLinuxControlDemoNew.zip
Unzip, compile, and launch the application
Click the "ClickMe!" button on the "dotnet" window
Put the focus on the Avalonia
TextBox
control and type somethingThe application is exited with code 0
Expected behavior Without issues, the focus should be moved between
NativeControlHost
and AvaloniaTextBox
and it should be possible to type in the "TextBox" control.Desktop (please complete the following information):
Additional context The issue is not reproduced with versions 0.10.18-0.10.21