When a window is maximized, if only the width or height is programmatically set, the window will retain its current maximized dimension (either height or width) as is, unless the other dimension is also explicitly set.
This is consistent with what Gtk does. ------------- Commit messages: - Restore unrelated line break - Forgot previous test - [Linux] - Maximized windows do not retain correct size when resized programmatically Changes: https://git.openjdk.org/jfx/pull/1748/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1748&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8353223 Stats: 11 lines in 1 file changed: 11 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jfx/pull/1748.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/1748/head:pull/1748 PR: https://git.openjdk.org/jfx/pull/1748