On Sun, 13 Apr 2025 18:01:08 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.
>
> Thiago Milczarek Sayao has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Missed one change

I'm doing the robot tests here (work in progress):
[StageStateTest](https://github.com/openjdk/jfx-sandbox/blob/glass_gtk_bug_squashing/tests/system/src/test/java/test/robot/javafx/stage/StageStatesTest.java)

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

PR Comment: https://git.openjdk.org/jfx/pull/1777#issuecomment-2800056720

Reply via email to