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

Martin Fox mfox at openjdk.org
Mon Sep 22 19:28:44 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.

This pull request has now been integrated.

Changeset: 4ac4ff6a
Author:    Martin Fox <mfox at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/4ac4ff6a4bc38910e8c247dc1904a966cb6c4e91
Stats:     122 lines in 2 files changed: 118 ins; 0 del; 4 mod

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

Reviewed-by: kcr, lkostyra

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

PR: https://git.openjdk.org/jfx/pull/1889


More information about the openjfx-dev mailing list