On Sun, 13 Apr 2025 17:46:58 GMT, Thiago Milczarek Sayao <tsa...@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

Reply via email to