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.95k stars 2.25k forks source link

IME and TabTip.exe not working in some case #10862

Closed flier268 closed 1 year ago

flier268 commented 1 year ago

Describe the bug When I use the Chinese input method, if I press Backspace, I won't be able to input any characters. After selecting a word, the text is sent out, but Avalonia does not receive it (or it does not appear on the TextBox). The current workaround is to press Space once when this happens, and then it will resume normal operation.

To Reproduce

  1. put a TextBox on UI
  2. Debug
  3. Open TabTip.exe
  4. Click backspace
  5. Enter some text using an input method editor (IME) such as Zhuyin (Bopomofo) input method.
  6. The char does not appear

Expected behavior The text appears in the TextBox when entered using an IME such as Zhuyin Input Method.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

rabbitism commented 1 year ago

Can you provide some information about TapTip? Edit: this might have been fixed by https://github.com/AvaloniaUI/Avalonia/pull/10834

flier268 commented 1 year ago

This program is a Keyboard, built in Windows 10+ C:\Program Files\Common Files\microsoft shared\ink\TabTip.exe

Can you provide some information about TapTip?

hez2010 commented 1 year ago

Can you try the latest nightly build?

kyuranger commented 1 year ago

Can you provide some information about TapTip? Edit: this might have been fixed by #10834

I tested with Sogou input method and I found this bug only available in Preview 6(But Preview 5 works well). In Preview 6 Sogou IME can not input anything no matter whether you input Backspace.

OS: Windows 10 22H2 19045.2728

timunie commented 1 year ago

@kyuranger please try latest nightly. https://github.com/AvaloniaUI/Avalonia/wiki/Using-nightly-build-feed

kyuranger commented 1 year ago

@kyuranger please try latest nightly. https://github.com/AvaloniaUI/Avalonia/wiki/Using-nightly-build-feed

I tried 11.0.999-cibuild0032725-beta and this bug does not exist anymore. Thank you.

flier268 commented 1 year ago

i will try it in 4 days, thanks.

timunie commented 1 year ago

@flier268 all right. Please close this issue if it is also for you fixed. Have a good time.

flier268 commented 1 year ago

@timunie It does not fix Keyboard

Avalonia version:11.0.999-cibuild0032880-beta

Gillibald commented 1 year ago

Bopomofo is special in terms of committing the composition string. How do you usually finish a sequence and start typing a new one? Some IMEs use the space key and some the return key.

flier268 commented 1 year ago

It does not have a special key to finish. The traditional approach is to press " ", "ˊ", "ˇ", "ˋ", "·" to finish it, but there are some new methods to do that. For example, if I want to input "你好", I should type "ㄋㄧˇㄏㄠˇ", but in some cases, I can just type "ㄋㄏ", and then choose the first one on the bar.

danipen commented 1 year ago

@flier268 @Gillibald is this issue still alive in the latest changes/preview8?

flier268 commented 1 year ago

@flier268 @Gillibald is this issue still alive in the latest changes/preview8?

Thank you, @danipen. This issue has indeed been fixed in version 11.0.999-cibuild0034558-beta.