RFR: 8242544: CMD+ENTER key event crashes the application when invoked on dialog

Kevin Rushforth kcr at openjdk.java.net
Wed Jan 12 16:27:29 UTC 2022


On Tue, 11 Jan 2022 22:18:53 GMT, Martin Fox <duke at 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.

In the interest of getting as much testing as possible, I'm approving this fix now. If there isn't time to add a manual test, then it can be done in the `jfx18` branch during RDP1.

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

Marked as reviewed by kcr (Lead).

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


More information about the openjfx-dev mailing list