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

Sergey Bylokhov serb at openjdk.java.net
Thu Oct 7 22:20:09 UTC 2021


On Thu, 7 Oct 2021 15:01:48 GMT, Alisen Chung <github.com+90066231+alisenchung at openjdk.org> wrote:

> I think mouseEvents are already posted by macos when the mouse enters the window thru fullscreen-resizing (green button) or tiling, so I think we don't need to synthesize additional events. 

If we do not need to synthesize additional events then why do you see a difference in behavior before/after the fix here:
https://github.com/openjdk/jdk/pull/5497#issuecomment-930588684
?

> I suggest we remove the line because it introduces another bug where dragging to move the window will post a mouseEntered event without the mouse ever entering the actual window. It also introduces the bug from the original bug report.

But we should not introduce the new one.

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

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



More information about the client-libs-dev mailing list