RFR: 8354480: A Stage should allow simultaneous iconified and maximized states [v2]
Thiago Milczarek Sayao
tsayao at openjdk.org
Sun Apr 13 18:01:08 UTC 2025
> On some platforms (at least on Ubuntu 24.04 with GNOME and Windows 11), windows can remain maximized even when they are iconified (minimized). When the window is de-iconified (restored), it retains its maximized state.
>
> The documentation in `Stage.java` regarding window states seems to align with this behavior. However, the code currently treats the `WindowEvent.RESTORE` event as both an unminimize (de-iconify) and an unmaximize.
>
> Tests pass on Ubuntu 24.04 XWayland (with one unrelated screenCapture failure). But I would not rely on that since it needes specific tests.
>
> This is not ready to integrate as it may break platform-specific code/behavior.
Thiago Milczarek Sayao has updated the pull request incrementally with one additional commit since the last revision:
Missed one change
-------------
Changes:
- all: https://git.openjdk.org/jfx/pull/1777/files
- new: https://git.openjdk.org/jfx/pull/1777/files/f9313999..ed2c444f
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jfx&pr=1777&range=01
- incr: https://webrevs.openjdk.org/?repo=jfx&pr=1777&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
Patch: https://git.openjdk.org/jfx/pull/1777.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1777/head:pull/1777
PR: https://git.openjdk.org/jfx/pull/1777
More information about the openjfx-dev
mailing list