On Thu, 14 Aug 2025 16:26:07 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. This pull request has now been integrated. Changeset: c77c2335 Author: Martin Fox <[email protected]> URL: https://git.openjdk.org/jfx/commit/c77c2335856a967907aaacc9546f44943c069add Stats: 21 lines in 2 files changed: 21 ins; 0 del; 0 mod 8364547: Window size may be incorrect when constrained to min or max Reviewed-by: kcr, angorya ------------- PR: https://git.openjdk.org/jfx/pull/1870
