On Tue, 11 Jan 2022 22:18:53 GMT, Martin Fox <d...@openjdk.java.net> wrote:

> The OS crashes if the contentView of a window is set to nil while handling 
> processKeyEquivalent. With this PR we just set the contentView to a basic 
> do-nothing NSView for the interim.

This looks good with the current tools/OS behaviour. It is still a bit of a 
hack, which may result in unexpected behaviour when the macos-specific tools 
change.
But this is a general observation with macos, so I believe this is indeed the 
best (and least intrusive way) to prevent the crashes.

-------------

Marked as reviewed by jvos (Reviewer).

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

Reply via email to