Withdrawn: 8354480: A Stage should allow simultaneous iconified and maximized states

Thiago Milczarek Sayao tsayao at openjdk.org
Thu Apr 17 11:51:06 UTC 2025


On Sun, 13 Apr 2025 17:46:58 GMT, Thiago Milczarek Sayao <tsayao at openjdk.org> wrote:

> 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.

This pull request has been closed without being integrated.

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

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


More information about the openjfx-dev mailing list