Open zekexiao opened 1 year ago
CJK users general has a input method to input CJK char. dlangui not handled WM_INPUT WM_IME message, so IME not in a right position (should display under the editing line).
dlangui:
windows notepad:
AvaloniaUI code here: https://github.com/AvaloniaUI/Avalonia/blob/567a38ec7206df80cf81343fcabaa22f8db0e45c/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs#L676
Windows docs: https://learn.microsoft.com/en-us/windows/win32/intl/input-method-manager
https://github.com/buggins/dlangui/issues/324 This issue is relevant. Same but for Linux basically :)
Also, I added this (and other input method thing) to my list TODO list so I'll look into it when I get free time
CJK users general has a input method to input CJK char. dlangui not handled WM_INPUT WM_IME message, so IME not in a right position (should display under the editing line).
dlangui:![dlangui](https://user-images.githubusercontent.com/21037233/205824302-e04e7e9e-cd9c-4002-b87f-54e39e330081.png)
windows notepad:![notepad](https://user-images.githubusercontent.com/21037233/205825046-0cb940b7-f7c4-4120-9ab9-091e972df1a4.png)
AvaloniaUI code here: https://github.com/AvaloniaUI/Avalonia/blob/567a38ec7206df80cf81343fcabaa22f8db0e45c/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs#L676
Windows docs: https://learn.microsoft.com/en-us/windows/win32/intl/input-method-manager