RFR: 8333589: [macos] Menu item actions do not work with Desktop.setDefaultMenuBar()
Phil Race
prr at openjdk.org
Fri Jun 21 22:25:09 UTC 2024
On Fri, 14 Jun 2024 03:49:13 GMT, Alisen Chung <achung at openjdk.org> wrote:
> Add a check and storage for a custom DefaultMenuBar in Desktop.java and adds key event handling for a custom DefaultMenuBar in KeyboardManager.java.
> Also adds a manual test for checking that key event handling is correct for DefaultMenuBars.
I don't think there is a bug here. It is working as intended.
What I find is that if there is NO active Frame, BUT the application is the active application then the action events
get through. I am on macOS 13.x. The bug mentions 14.x .. there is an accelerator bug open specific to macOS 14
I'll add an eval in the bug.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19714#issuecomment-2183538101
More information about the client-libs-dev
mailing list