RFR: 8325435: [macos] Menu or JPopupMenu not closed when main window is resized [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Fri May 31 12:24:42 UTC 2024
On Fri, 31 May 2024 09:55:37 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:
>> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Non-client aread edge area modified, test format
>
> src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m line 1029:
>
>> 1027: // Also, non-client area includes the edges at left, right and botton of frame
>> 1028: if ((p.y >= (frame.origin.y + contentRect.size.height)) ||
>> 1029: (p.x >= (frame.origin.x + contentRect.size.width)) ||
>
> Suggestion:
>
> (p.x >= (frame.origin.x + contentRect.size.width - 3)) ||
>
>
> From my testing there is a 3 pixel dead zone at the right window border, when the resize cursor is displayed, but `deliverNCMouseDown` is not called.
>
> Please check this on your system as well.
Yes, there was a dead zone..Thanks for pointing it out...Updated..
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19474#discussion_r1622344303
More information about the client-libs-dev
mailing list