Page 1 of 1

OSR bug with IME

Posted: Fri Jan 04, 2019 3:14 am
by tad.chen
When I input non-english language by IME, the IME Window will not be near the caret position. But in non-OSR browser, it works.

Re: OSR bug with IME

Posted: Fri Jan 04, 2019 10:32 am
by salvadordf
Hi,

Thank you for reporting this issue!

Can you reproduce this issue with the official CEF3 sample application?

Please, download the sample application from here and try the IME :
http://opensource.spotify.com/cefbuilds ... nt.tar.bz2

I'll have to learn how to activate or install an IME in Windows to test this as soon as I can.

Re: OSR bug with IME

Posted: Sat Jan 05, 2019 1:13 am
by tad.chen
Hi,

I download the official CEF3 sample application by the link you provided, and run cefclient.exe in it. Then I open IME and input non-english language, the IME Window will be near the caret position.

It's OK!

But I don't know whether cefclient.exe is based on OSR or not. Only OSR has this issue.

Re: OSR bug with IME

Posted: Sat Jan 05, 2019 11:16 am
by salvadordf
Sorry. I forgot to tell you that you need the "--off-screen-rendering-enabled" parameter to enable the OSR mode in cefclient.

I finally could add the simplified Chinese keyboard to Windows and I saw that the SimpleOSRBrowser shows the suggestions in the wrong place after activating the Chinese keyboard input method.

The TChromium.OnIMECompositionRangeChanged event is not implemented in the demo while cefclient implements it. Perhaps this is the cause for this issue.

I'll try to fix it as soon as I can.

Re: OSR bug with IME

Posted: Tue Jan 08, 2019 6:26 pm
by salvadordf
I just updated CEF4Delphi with the fix for this issue.

Please, download CEF4Delphi again and test it.

CEF3 has an unresolved issue with the IME in OSR mode. It doesn't render the text correctly and it shows a black box but the IME is now correctly positioned.

https://bitbucket.org/chromiumembedded/ ... r-properly

Re: OSR bug with IME

Posted: Wed Jan 09, 2019 2:19 pm
by tad.chen
Thank you for your quick response and your effort.

I download the new CEF4Delphi and test it in my environment.

It's OK now. It shows the suggestions in the right place in OSR mode.

But it does show a black box which is an unresolved CEF3 issue as you said.

Re: OSR bug with IME

Posted: Tue Jan 29, 2019 10:07 am
by salvadordf
Please, download the latest CEF4Delphi version. The black box issue with the IME window should be fixed now.

Re: OSR bug with IME

Posted: Thu Jan 31, 2019 2:53 pm
by tad.chen
That's great! The black box disappears. Thank you!