jcef linux ime issue

Having problems with building or using the JCEF Java binding? Ask your questions here.

jcef linux ime issue

Postby ElAndLivia » Tue Oct 11, 2022 1:33 am

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.
ElAndLivia
Newbie
 
Posts: 4
Joined: Mon Mar 15, 2021 2:57 pm

Re: jcef linux ime issue

Postby yangyb » Mon Sep 04, 2023 1:31 am

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。
yangyb
Newbie
 
Posts: 2
Joined: Mon Sep 04, 2023 1:20 am

Re: jcef linux ime issue

Postby ElAndLivia » Fri Sep 08, 2023 4:10 am

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.
ElAndLivia
Newbie
 
Posts: 4
Joined: Mon Mar 15, 2021 2:57 pm

Re: jcef linux ime issue

Postby yangyb » Thu Sep 21, 2023 3:37 am

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 14996 times


截屏2023-09-21 下午3.54.59.png
截屏2023-09-21 下午3.54.59.png (260.62 KiB) Viewed 14996 times
yangyb
Newbie
 
Posts: 2
Joined: Mon Sep 04, 2023 1:20 am


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 2 guests

cron