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

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Wed Sep 22 07:53:06 UTC 2021


On Fri, 17 Sep 2021 16:33:10 GMT, Alisen Chung <github.com+90066231+alisenchung at openjdk.org> wrote:

>> Added a resizing flag when the window is currently being resized to block mouseEntered and mouseExited events from being posted to that window.
>
> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   added check for inLiveResize in AWTWindow

test/jdk/java/awt/event/MouseEvent/ResizeMouseExitEnterMisfire/ResizeMouseExitEnterMisfire.java line 38:

> 36:  * @bug 8254841
> 37:  * @summary Tests spurious firing of mouseEntered and mouseExit on resize
> 38:  * @run main ResizeMouseExitEnterMisfire

I guess the test should be marked headful.
Also, did you test on all platforms by giving CI job since you did not mark it only for mac?
It seems it fails on windows.

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

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



More information about the client-libs-dev mailing list