Page 1 of 1

jcef linux ime issue

PostPosted: Tue Oct 11, 2022 1:33 am
by ElAndLivia
Hello, I found that cef has solved the linux ime issue (https://bitbucket.org/chromiumembedded/cef/issues/1813/cef-does-not-work-with-imes-on-linux) from about version 102.0.5005.115 (I think the related commit is https://bitbucket.org/chromiumembedded/cef/commits/2ea7459a89fbdce77ffa319cf9986a84fd041709#chg-patch/patches/chrome_browser_dialogs.patch, I'm not so sure because I haven't verified it yet for some reason), while the same version of jcef does not. This is still the same for the latest versions of cef and jcef, I can use Chinese input method on linux in the latest version of cef, but not in jcef. I'm using Google Pinyin to test. Does anyone know how to solve this problem in jcef or can give any hints? Thank you so much.

Re: jcef linux ime issue

PostPosted: Mon Sep 04, 2023 1:31 am
by yangyb
Has the problem been resolved? I also have the same problem。

I suspect that the cause of the problem may be related to keyboard events。java-cef may have affected the priority of keyboard event handler of cef。

Re: jcef linux ime issue

PostPosted: Fri Sep 08, 2023 4:10 am
by ElAndLivia
yangyb wrote:Has the problem been resolved? I also have the same problem。

I suspect that the cause of the problem may be related to keyboard events。java-cef may have affected the priority of keyboard event handler of cef。

I'm sorry that we haven't solved the problem of the input method in the window rendering mode so far. Now we have changed to the off-screen rendering mode and can use the input method normally after adding the jogamp-related jars.

Re: jcef linux ime issue

PostPosted: Thu Sep 21, 2023 3:37 am
by yangyb
ElAndLivia wrote:
yangyb wrote:Has the problem been resolved? I also have the same problem。

I suspect that the cause of the problem may be related to keyboard events。java-cef may have affected the priority of keyboard event handler of cef。

I'm sorry that we haven't solved the problem of the input method in the window rendering mode so far. Now we have changed to the off-screen rendering mode and can use the input method normally after adding the jogamp-related jars.


thank you very much !
I found some clues that maybe useful. I comment out the code that setting parent window of inner borwser. The AWT window could activate input method, but browser window cannot yet.

截屏2023-09-21 下午3.49.59.png
截屏2023-09-21 下午3.49.59.png (97.35 KiB) Viewed 10031 times


截屏2023-09-21 下午3.54.59.png
截屏2023-09-21 下午3.54.59.png (260.62 KiB) Viewed 10031 times