RFR: 8254841: [macos] Enter and Exit events shouldn't be sent whilst resizing [v8]

Sergey Bylokhov serb at openjdk.java.net
Fri Oct 1 22:40:29 UTC 2021


On Fri, 1 Oct 2021 22:10:40 GMT, Alisen Chung <github.com+90066231+alisenchung at openjdk.org> wrote:

> I think synthesizeMouseEnteredExitedEventsForAllWindows shouldn't be in deliverMoveResizeEvent since there shouldn't be any mouseEnter/Exit events during a resize or move

Why do you think that if the window is moved/resized and/or appeared under the mouse then the mouse event should not be posted? I do not think so. We can try to minimize the number of events when the user drags/resizes the window, but we should not change the number of events if the macos/app moved/resized the window.

> and I can submit another bug for didWindowEnterFullscreen and didWindowExitFullscreen not being called/not posting mouseEvents that I can work on separately..

It should be called, I have checked that on macOS 11.5, but I do not think it depends on the version.

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

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



More information about the client-libs-dev mailing list