Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

OSR bug with IME

Post Reply
tad.chen
Posts: 104
Joined: Fri Jan 04, 2019 1:39 am

OSR bug with IME

Post 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.
User avatar
salvadordf
Posts: 4042
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: OSR bug with IME

Post 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.
tad.chen
Posts: 104
Joined: Fri Jan 04, 2019 1:39 am

Re: OSR bug with IME

Post 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.
User avatar
salvadordf
Posts: 4042
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: OSR bug with IME

Post 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.
User avatar
salvadordf
Posts: 4042
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: OSR bug with IME

Post 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
tad.chen
Posts: 104
Joined: Fri Jan 04, 2019 1:39 am

Re: OSR bug with IME

Post 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.
User avatar
salvadordf
Posts: 4042
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: OSR bug with IME

Post by salvadordf »

Please, download the latest CEF4Delphi version. The black box issue with the IME window should be fixed now.
tad.chen
Posts: 104
Joined: Fri Jan 04, 2019 1:39 am

Re: OSR bug with IME

Post by tad.chen »

That's great! The black box disappears. Thank you!
Post Reply