cefsharp / CefSharp

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
http://cefsharp.github.io/
Other
9.86k stars 2.92k forks source link

WPF - IME Windows 8.1/10/11 #1262

Open ay2015 opened 9 years ago

ay2015 commented 9 years ago

I use the project from official website and version '41.0.1' ,when I design a wonderful window,I have to set variable ''AllowsTransparency" to "true", “WindowStyle” to "None",I edited the ‘MainWindow.xaml’ ,set variable ''AllowsTransparency" to "true", “WindowStyle” to "None",and run. the problem: input tag from html can't use other IME,but character is Ok,how can I solve it?
Thanks for you

Kumhy commented 2 years ago

@amaitland I am using winform but not wpf

amaitland commented 2 years ago

@Kumhy This issue is about WPF. Use https://github.com/cefsharp/CefSharp/discussions

cdz1980 commented 2 years ago

What version of the product are you using?

99.2.90 and 103 All versions above 98.1.210 What architecture x86 or x64?

x86 What version of .Net?

.Net 4.6 On what operating system?

Win10 Are you using WinForms, WPF or OffScreen?

WinForm What steps will reproduce the problem?

Microsoft five stroke input method or sogou five stroke input downurl :https://ime.sogouimecdn.com/202208031710/b448404a17e79aa46099a44d43e74062/dl/gzindex/1652773055/sogou_wubi_55b.exe

The input method candidate box is positioned to 0, 0

cefsharp Versions below 98 are normal image

amaitland commented 2 years ago

@cdz1980 Bisect the changes and workout which commit introduced the behaviour you are seeing.

amaitland commented 1 year ago

The intention would be to use the IME keyboard handler if appropriate for the current user (hope that makes sense)

PR #4439 is available for review/testing. Anyone interested please test and provide feedback.

AntaresXXX commented 1 year ago

Hello, I am a Chinese developer. I am testing with a Chinese IME, and it works fine. However, there is a minor flaw: when I press the first key, the IME popup box does not appear at the expected location, but instead, it appears at the bottom right corner. When the second key is pressed, the IME popup box returns to the correct position.

igandrews commented 1 year ago

Hello, I am a Chinese developer. I am testing with a Chinese IME, and it works fine. However, there is a minor flaw: when I press the first key, the IME popup box does not appear at the expected location, but instead, it appears at the bottom right corner. When the second key is pressed, the IME popup box returns to the correct position.

This isn't cefsharp or if it is it requires additional infrastructure in cef itself. I reported this to them a while back.