RFR: 8254841: [macos] Enter or Exit events are shouldn't be displayed while resizing [v5]

Sergey Bylokhov serb at openjdk.java.net
Wed Sep 22 05:11:00 UTC 2021


On Wed, 22 Sep 2021 02:10:26 GMT, Phil Race <prr at openjdk.org> wrote:

> I love your confidence .. so does that mean you tested it ?

=)
I did not test, the code which we try to exclude was added as part of the JDK-8028485, so if the flag=true in that use case we reintroduce that bug. I touched that code to make resize animation smoother and as far as I remember that code is executed when the user maximizes the window. 

It is better to test and confirm how it actually works.

> Watching such a resize I find it unlikely more than one exit event would be generated.

If we exclude this synthetic event we may get a situation when no enter/exit event will be generated.

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

PR: https://git.openjdk.java.net/jdk/pull/5497



More information about the client-libs-dev mailing list