RFR: 8366986: [Win] Incorrect position and size after hiding iconified stage [v3]
Kevin Rushforth
kcr at openjdk.org
Mon Sep 22 16:56:43 UTC 2025
On Mon, 22 Sep 2025 15:36:32 GMT, Martin Fox <mfox at openjdk.org> wrote:
>> When a top-level HWND is iconified its window rect is updated to a hard-coded location (something like -32000, -32000) and a smaller width and height. For this reason we should not send notifyMove or notifyResize events for an iconified stage. This PR adds a check while handling WM_SHOWWINDOW to catch the case where a stage is hidden while iconified. This matches similar existing checks like the one for WM_MOVE.
>
> Martin Fox has updated the pull request incrementally with one additional commit since the last revision:
>
> Increased test tolerances to account for snapping effects with fractional display scales
The test passes for me now on my 1.25x scale system. I also checked with 1.75 scale and it also passes.
-------------
Marked as reviewed by kcr (Lead).
PR Review: https://git.openjdk.org/jfx/pull/1889#pullrequestreview-3254052316
More information about the openjfx-dev
mailing list