RFR: 8366986: [Win] Incorrect position and size after hiding iconified stage

Martin Fox mfox at openjdk.org
Tue Sep 9 20:26:17 UTC 2025


On Tue, 9 Sep 2025 18:40:26 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.

I've disabled the system test on Linux. I've verified that the test passes with PR #1789.

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

PR Comment: https://git.openjdk.org/jfx/pull/1889#issuecomment-3272151159


More information about the openjfx-dev mailing list