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

Jose Pereda jpereda at openjdk.java.net
Wed Jan 12 18:47:31 UTC 2022


On Wed, 12 Jan 2022 18:34:19 GMT, Martin Fox <duke at openjdk.java.net> wrote:

>> I don't know. I'm always skeptical of 0 size rectangles. I'd either leave it as-is or maybe use a `(0,0,1,1)` rectangle.
>
> The initial size should not matter since it will be re-sized to the window's content bounds. But I would rather avoid doing something unusual like creating a 0-sized NSView even though it almost certainly will work.

Okay, no problem then.

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

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


More information about the openjfx-dev mailing list