java-cef icon indicating copy to clipboard operation
java-cef copied to clipboard

Application Freeze on right-click when OSR is enabled

Open nprice-flextrade opened this issue 10 months ago • 1 comments

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:

  1. Modify simple/MainFrame.java to enable useOsr
  2. Run it as normal
  3. Right click on the page displayed
  4. 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.

nprice-flextrade avatar Dec 12 '24 16:12 nprice-flextrade