AvaloniaUI / Avalonia

Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
https://avaloniaui.net
MIT License
25.76k stars 2.23k forks source link

Cannot input Chinese (even change IME to Chinese) in Textbox on Kylin V10 #17315

Open a6754z opened 2 weeks ago

a6754z commented 2 weeks ago

Describe the bug

Cannot change input method to Chinese and input Chinese in a textbox defined like below on Kylin V10, But works fine on Windows. The default font has been installed on the system and can be displayed correctly.

Noto Sans CJK TC Regular

<TextBox x:Name="txtDesc" Margin="10,0,0,0" FontFamily="{DynamicResource DefaultFont}" FontSize="{DynamicResource DefaultFontSize}" Grid.Column="1" Height="220" VerticalAlignment="Top" AcceptsReturn="True" TextWrapping="Wrap" Text="{Binding Description}" Watermark="{x:Static resx:Resource.IDS_PROBLEM_REPORT_PLACE_HOLDER}"/>

I also tried the solution for the issue https://github.com/AvaloniaUI/Avalonia/issues/6155, but still not work.

image

To Reproduce

Run a applicaiton with textboxes on Kylin V10.

Expected behavior

Can change input method to Chinese and input Chinese in the Textbox.

Avalonia version

11.0.10

OS

Linux

Additional context

No response

a6754z commented 2 weeks ago

image

image