RFR: 8233678: [macos 10.15] System menu bar does not work initially on macOS Catalina [v3]

Alex Blewitt github.com+76791+alblue at openjdk.java.net
Sat Jan 23 22:22:38 UTC 2021

On Thu, 21 Jan 2021 00:07:30 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> I don't yet know whether there is an alternative that would allow the menubar to work without deactivating the app, but I filed a follow-up bug to track this:
>> [JDK-8257835](https://bugs.openjdk.java.net/browse/JDK-8257835): Brief flash in terminal window when launching FX app on macOS
>> It seems like it might be possible to fix this, since AWT initialization doesn't run into this. I note that AWT uses an Apple-provided "JavaRuntime Support" (JRS) Framework. We would need to see whether there is something else possible using public macOS  APIs.
> @tomsontom Thanks for letting me know. He reached to me directly as well, so I'll plan to add the information to the follow-on bug, [JDK-8257835](https://bugs.openjdk.java.net/browse/JDK-8257835).

BTW there were observations that the setActivationPolicy call needs to be inside the callback as well, at least on 10.15. I've updated the bug on the StackOverflow question, and the Eclipse bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=552063 has a fix about to go in with the suggested change.


PR: https://git.openjdk.java.net/jfx/pull/361

More information about the openjfx-dev mailing list