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

Martin Fox duke at openjdk.java.net
Wed Jan 12 18:56:33 UTC 2022


On Wed, 12 Jan 2022 16:56:12 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.
>
> Martin Fox has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Releasing dummy NSView

The manual test for this can also cover JDK-8205915 (a Cmd-based shortcut can be processed by two separate windows). This crash was blocking testing on that bug. I'll submit a fix for JDK-8205915 along with the manual test tomorrow.

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

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


More information about the openjfx-dev mailing list