Skip to content

Application Freeze on right-click when OSR is enabled #494

Description

@nprice-flextrade

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.

Activity

nebsar commented on Apr 9, 2025

@nebsar

I have this issue as well. Any progress on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug report

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions