RFR: 8254841: [macos] Enter and Exit events shouldn't be sent whilst resizing [v5]
Alisen Chung
github.com+90066231+alisenchung at openjdk.java.net
Thu Sep 23 16:53:56 UTC 2021
On Thu, 23 Sep 2021 00:37:59 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> > Before the changes the mouseEntered and mouseExited events would constantly fire, while after the fix only a mouseEntered event would fire
>
> Does it mean that after the fix we will post a few enter events w/o exit events? Then it is worse than posting enter/exit events that are paired, even if we will post many such pairs.
It always posts a single enter event without an exit event.
> > When the user maximizes the window a mouseEntered event does fire, so it preserves the fix for JDK-8028485.
>
> Just for the record did you check what is the inLiveResize value when the user maximizes the window, or moves it to the full screen/tile the window to the left/right?
I checked for when the user maximizes the window and tiles to the left or right of the screen and both seem to work.
I just ran all the tests and my test fails on both windows and linux platforms so I think this bug isn't platform specific.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5497
More information about the client-libs-dev
mailing list