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

Sergey Bylokhov serb at openjdk.java.net
Tue Sep 21 23:38:07 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

> The docs seem to me to be saying it is only when the user is dragging :
> https://developer.apple.com/documentation/appkit/nsview/1483267-inliveresize?language=objc

I do not see that it says that:

_AppKit sets the value of this property to YES when a live resizing operation involving the view is underway. Use this property to determine when to optimize your view’s drawing behavior. Typically, you access this property from your drawRect: method and use the value to change the fidelity of the content you draw, or to draw your content more efficiently_

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

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



More information about the client-libs-dev mailing list