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

TextBox cannot enter Chinese, in deepin.Linux system #5111

Closed
wuzlai opened this issue Nov 27, 2020 · 20 comments
Closed

TextBox cannot enter Chinese, in deepin.Linux system #5111

wuzlai opened this issue Nov 27, 2020 · 20 comments

Comments

@wuzlai
Copy link

wuzlai commented Nov 27, 2020

In Deepin.Linux, after switching the input method to Chinese, the text box is still typing the English letters on the keyboard.
But with Windows 10, everything is fine. You can use input method to input Chinese. There is no idea at present. Please give me some Suggestions. Thank you。
I have read the issue ( #2076 ).But still confused

image

@Gillibald
Copy link
Contributor

#4893

We need to implement IME support first before this will work properly

@wuzlai
Copy link
Author

wuzlai commented Nov 30, 2020

#4893

We need to implement IME support first before this will work properly

Yes, you are right, but I wonder if there are any compromise solutions. I can try to modify the source code and so on, for myself, this situation is quite urgent.

@dayAndnight2018
Copy link

In Deepin.Linux, after switching the input method to Chinese, the text box is still typing the English letters on the keyboard.
But with Windows 10, everything is fine. You can use input method to input Chinese. There is no idea at present. Please give me some Suggestions. Thank you。
I have read the issue ( #2076 ).But still confused

image

但凡你百度过,就不会有这个问题

https://github.com/dayAndnight2018/AvaloniaRelated/blob/main/develop-on-macOS.md

@wuzlai
Copy link
Author

wuzlai commented Dec 4, 2020

In Deepin.Linux, after switching the input method to Chinese, the text box is still typing the English letters on the keyboard.
But with Windows 10, everything is fine. You can use input method to input Chinese. There is no idea at present. Please give me some Suggestions. Thank you。
I have read the issue ( #2076 ).But still confused
image

但凡你百度过,就不会有这个问题

https://github.com/dayAndnight2018/AvaloniaRelated/blob/main/develop-on-macOS.md

感谢您的回复,这个方案是解决macos下文本框输入和显示中文的乱码问题。网友已经反馈过(https://github.com/AvaloniaUI/Avalonia/issues/3780)。我现在遇到的问题是在deepin.linux等国产系统下,文本框无法输入中文的问题,确切来说是IME不支持,且您提到的这个方案,我也在deepin下测试过,是没有效果的。不知道您有没有好的建议了,谢谢。

@dayAndnight2018
Copy link

In Deepin.Linux, after switching the input method to Chinese, the text box is still typing the English letters on the keyboard.
But with Windows 10, everything is fine. You can use input method to input Chinese. There is no idea at present. Please give me some Suggestions. Thank you。
I have read the issue ( #2076 ).But still confused
image

但凡你百度过,就不会有这个问题
https://github.com/dayAndnight2018/AvaloniaRelated/blob/main/develop-on-macOS.md

感谢您的回复,这个方案是解决macos下文本框输入和显示中文的乱码问题。网友已经反馈过(https://github.com/AvaloniaUI/Avalonia/issues/3780)。我现在遇到的问题是在deepin.linux等国产系统下,文本框无法输入中文的问题,确切来说是IME不支持,且您提到的这个方案,我也在deepin下测试过,是没有效果的。不知道您有没有好的建议了,谢谢。

你是用虚拟键盘输入的是吗?尝试过实体键盘输入吗?

@wuzlai
Copy link
Author

wuzlai commented Dec 4, 2020

In Deepin.Linux, after switching the input method to Chinese, the text box is still typing the English letters on the keyboard.
But with Windows 10, everything is fine. You can use input method to input Chinese. There is no idea at present. Please give me some Suggestions. Thank you。
I have read the issue ( #2076 ).But still confused
image

但凡你百度过,就不会有这个问题
https://github.com/dayAndnight2018/AvaloniaRelated/blob/main/develop-on-macOS.md

感谢您的回复,这个方案是解决macos下文本框输入和显示中文的乱码问题。网友已经反馈过(https://github.com/AvaloniaUI/Avalonia/issues/3780)。我现在遇到的问题是在deepin.linux等国产系统下,文本框无法输入中文的问题,确切来说是IME不支持,且您提到的这个方案,我也在deepin下测试过,是没有效果的。不知道您有没有好的建议了,谢谢。

你是用虚拟键盘输入的是吗?尝试过实体键盘输入吗?

实体键盘和虚拟键盘都是测试过的了,虚拟键盘方便看效果。目前暂时没有办法。看看大家有没有什么好的办法吧。

@wuzlai
Copy link
Author

wuzlai commented Dec 8, 2020

Top it off and ask if you have a good way to deal with it? Is there any specific official arrangement? Could you give priority to this issue? Thank you very much. @Gillibald @kekekeks

@danwalmsley
Copy link
Member

This is being worked on. It wont make 0.10... its a huge task, but good progress has already been made.

I would not expect anything until next year though.

@wuzlai
Copy link
Author

wuzlai commented Dec 8, 2020

This is being worked on. It wont make 0.10... its a huge task, but good progress has already been made.

I would not expect anything until next year though.

Thank you for your reply. Well understood the complexity of the problem and the amount of work involved. Avalonia is easy to use, cross-platform and has a nice interface. Apart from this input method identification problem, there are no other serious use problems. We have basically completed the development of our Avalonia project, and we only need the support function of the Chinese input method at present. We really need this function urgently. We will keep watching it and look forward to seeing a new version to solve this problem soon. thank you

@Thonnn
Copy link

Thonnn commented Dec 14, 2020

This is being worked on. It wont make 0.10... its a huge task, but good progress has already been made.
I would not expect anything until next year though.

Thank you for your reply. Well understood the complexity of the problem and the amount of work involved. Avalonia is easy to use, cross-platform and has a nice interface. Apart from this input method identification problem, there are no other serious use problems. We have basically completed the development of our Avalonia project, and we only need the support function of the Chinese input method at present. We really need this function urgently. We will keep watching it and look forward to seeing a new version to solve this problem soon. thank you

Hello, I have the same problem as you. Do you already have an alternative solution? If so, can you share it?

@danwalmsley
Copy link
Member

This is being worked on. It wont make 0.10... its a huge task, but good progress has already been made.
I would not expect anything until next year though.

Thank you for your reply. Well understood the complexity of the problem and the amount of work involved. Avalonia is easy to use, cross-platform and has a nice interface. Apart from this input method identification problem, there are no other serious use problems. We have basically completed the development of our Avalonia project, and we only need the support function of the Chinese input method at present. We really need this function urgently. We will keep watching it and look forward to seeing a new version to solve this problem soon. thank you

If this is really urgent, our paid support can make this happen much quicker. Get in touch team@avaloniaui.net, otherwise I expect it may be a few months before this is ready.

@wuzlai
Copy link
Author

wuzlai commented Dec 15, 2020

This is being worked on. It wont make 0.10... its a huge task, but good progress has already been made.
I would not expect anything until next year though.

Thank you for your reply. Well understood the complexity of the problem and the amount of work involved. Avalonia is easy to use, cross-platform and has a nice interface. Apart from this input method identification problem, there are no other serious use problems. We have basically completed the development of our Avalonia project, and we only need the support function of the Chinese input method at present. We really need this function urgently. We will keep watching it and look forward to seeing a new version to solve this problem soon. thank you

Hello, I have the same problem as you. Do you already have an alternative solution? If so, can you share it?

Hello, there is no solution at the moment. We're waiting, too. If you have ideas, I hope you can study them together.

@wuzlai
Copy link
Author

wuzlai commented Dec 15, 2020

This is being worked on. It wont make 0.10... its a huge task, but good progress has already been made.
I would not expect anything until next year though.

Thank you for your reply. Well understood the complexity of the problem and the amount of work involved. Avalonia is easy to use, cross-platform and has a nice interface. Apart from this input method identification problem, there are no other serious use problems. We have basically completed the development of our Avalonia project, and we only need the support function of the Chinese input method at present. We really need this function urgently. We will keep watching it and look forward to seeing a new version to solve this problem soon. thank you

If this is really urgent, our paid support can make this happen much quicker. Get in touch team@avaloniaui.net, otherwise I expect it may be a few months before this is ready.

Thank you very much. I have sent an email to team@avaloniaui.net.

@codeconscious
Copy link

Hello. I've only very recently tried out Avalonia for the first time and immediately took to it. Being able to run the same application on Windows, Mac, and Linux so easily is simply exhilarating! However, tools I want to develop will use Japanese and other Asian languages, so I was curious approximately how the time frame of release is looking at this point. Apologies if I've overlooked the information on other issue threads or anywhere else. Thank you much.

@jmacato
Copy link
Member

jmacato commented Nov 19, 2021

it'll be done once #4893 is merged so watch that space instead :)

@codeconscious
Copy link

Thank you very much, @jmacato! I'm looking forward to it.

@kekekeks
Copy link
Member

@codeconscious you can use WenQuanYi Micro Hei font for now

You need to use a font that has Chinese characters. https://github.com/anthonyfok/fonts-wqy-microhei is a good one
WenQuanYiMicroHei-01.ttf.zip

Place it into Assets, add as AvaloniaResource and add something like

<Style Selector="TextBlock">
   <Setter Property="FontFamily" Value="avares://YourAssemblyName/Assets/Fonts#WenQuanYi Micro Hei" />
</Style>

to your App.xaml after the theme

@codeconscious
Copy link

Thank you very much for the tip, @kekekeks. My application needs to support multiple languages in one TextBox at a time, and your tip led me to try setting the font to "Arial Unicode MS," which is already installed on my system, and that worked! Of course, input via IME doesn't work yet, but this will do for prototyping, at least. I appreciate the assist.

@Takoooooo
Copy link
Contributor

Fixed in #4893.

@protofabcode
Copy link

In Deepin.Linux, after switching the input method to Chinese, the text box is still typing the English letters on the keyboard.
But with Windows 10, everything is fine. You can use input method to input Chinese. There is no idea at present. Please give me some Suggestions. Thank you。
I have read the issue ( #2076 ).But still confused
image

但凡你百度过,就不会有这个问题
https://github.com/dayAndnight2018/AvaloniaRelated/blob/main/develop-on-macOS.md

感谢您的回复,这个方案是解决macos下文本框输入和显示中文的乱码问题。网友已经反馈过(https://github.com/AvaloniaUI/Avalonia/issues/3780)。我现在遇到的问题是在deepin.linux等国产系统下,文本框无法输入中文的问题,确切来说是IME不支持,且您提到的这个方案,我也在deepin下测试过,是没有效果的。不知道您有没有好的建议了,谢谢。

你是用虚拟键盘输入的是吗?尝试过实体键盘输入吗?

你们是怎样实现在选中textbox后跳出虚拟键盘的?

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

No branches or pull requests

10 participants