Bump JCEF version please
Current JCEF version is 122.1.9.997 and latest is 132.3.1.
Looks like the 122 version has a problem with KeyEvent.KEY_TYPED which I have described here: https://github.com/chromiumembedded/java-cef/issues/504
Can you please bump the JCEF version or if I'm wrong, explain to me, how can I print custom char using sendKeyEvent() with awt KEY_TYPED event/any awt event.
Thanks in advance!
Version 2025.03.23 should be available in ~30min.
Should be compatible with https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-17.0.14b1367.22
Let me know if it works
Thanks a lot for a fast response! I have bundled it successfully, but getting some errors currently (
JCEF_I(01:49:476): CefApp: set state NEW JCEF_I(01:49:477): CefApp: set state INITIALIZING JCEF_V(01:49:477): Initialize CefApp on Thread[CefInitialize-thread,6,main] [0323/220149.481283:WARNING:resource_bundle.cc(465)] locale_file_path.empty() for locale [0323/220149.482046:ERROR:alloy_main_delegate.cc(715)] Could not load locale pak for en-US [0323/220149.482081:ERROR:alloy_main_delegate.cc(724)] Could not load resources.pak [0323/220149.482092:ERROR:alloy_main_delegate.cc(735)] Could not load chrome_100_percent.pak [0323/220149.482100:ERROR:alloy_main_delegate.cc(744)] Could not load chrome_200_percent.pak LaunchProcess: failed to execvp: .jdks/jbr-17.0.14/lib/jcef_helper
I think it is because of my setup. I'll try to fix it on my machine tomorrow and tell if it works
Have created an JBR issue. I think the change should be made in Jetbrains JCEF as well https://youtrack.jetbrains.com/issue/JBR-8462/Bump-JCEF-version-please
Have found following tests in Jetbtains Jcef https://github.com/JetBrains/jcef/blob/dev/java_tests/tests/junittests/data/keyboard_scenario_linux.json
In windows and MacOS JSON the characters are interpreted correctly. I'll take a look, if cef bump will change the results there
Thanks a lot for a fast response! I have bundled it successfully, but getting some errors currently (
JCEF_I(01:49:476): CefApp: set state NEW JCEF_I(01:49:477): CefApp: set state INITIALIZING JCEF_V(01:49:477): Initialize CefApp on Thread[CefInitialize-thread,6,main] [0323/220149.481283:WARNING:resource_bundle.cc(465)] locale_file_path.empty() for locale [0323/220149.482046:ERROR:alloy_main_delegate.cc(715)] Could not load locale pak for en-US [0323/220149.482081:ERROR:alloy_main_delegate.cc(724)] Could not load resources.pak [0323/220149.482092:ERROR:alloy_main_delegate.cc(735)] Could not load chrome_100_percent.pak [0323/220149.482100:ERROR:alloy_main_delegate.cc(744)] Could not load chrome_200_percent.pak LaunchProcess: failed to execvp: .jdks/jbr-17.0.14/lib/jcef_helperI think it is because of my setup. I'll try to fix it on my machine tomorrow and tell if it works
Were you able to solve this? I've been having similar problems with this error.
Don't really sure, what it is related. Looks for me more like missing stuff for jcef_helper rather than sendKeyEvent topic