On Mon, 18 Aug 2025 17:23:43 GMT, Martin Fox <[email protected]> wrote:

>> When changing the width and height of a window the platform code is 
>> responsible for enforcing the min and max size constraints. If the final 
>> width and height don't match the width and height passed into setBounds the 
>> platform needs to call notifyResize to correct the window's properties. This 
>> happens naturally if the window size actually changes since that will 
>> trigger the OS to send size change notifications. If the platform window 
>> size doesn't change the OS notifications won't trigger. We need to catch 
>> that case and send notifyResize anyway.
>> 
>> This PR does this for Mac and Windows. Linux is being handled in PR #1789 
>> which also includes the system tests for these bugs.
>
> Martin Fox has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Remove double notifications, keep window min/max/normal state unchanged.

tested on macOS 15.7.1 M1
the reproducer works
found no ill effects in the monkey tester.

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

Marked as reviewed by angorya (Reviewer).

PR Review: https://git.openjdk.org/jfx/pull/1870#pullrequestreview-3391055606

Reply via email to