java-cef
java-cef copied to clipboard
Application Freeze on right-click when OSR is enabled
Describe the bug When OSR is enabled, right-clicking and showing the native context menu will freeze the entire application.
To Reproduce Steps to reproduce the behavior:
- Modify
simple/MainFrame.javato enableuseOsr - Run it as normal
- Right click on the page displayed
- The native context menu is shown, but the application then freezes - it is not possible to select anything on that menu, nor to dismiss the menu by clicking elsewhere.
Expected behavior The native context menu should be shown, and should behave as it does when OSR is not enabled.
Versions (please complete the following information):
- OS: Windows 11
- Java Version: OpenJDK 21
- JCEF Version: 127.3.1.329
- CEF Version: 127.3.1
Additional context Reproducible on either Simple or Detailed sample app
After the application freezes, the Windows error message dialog is shown, offering the ability to abort the application.