This issue came out as a part of recently added Stage Attributes test (see related issue).
When a new Stage is created and not yet shown, setting its X/Y coordinates and calling setMaximized(true) causes the latter to be ignored - Stage is created at requested X/Y spot, but does not maximize. This behavior works fine on Windows (Stage is maximized when show() is called).
Run attached test program to see the behavior. This was checked on macOS Ventura 13.5.1.
When a new Stage is created and not yet shown, setting its X/Y coordinates and calling setMaximized(true) causes the latter to be ignored - Stage is created at requested X/Y spot, but does not maximize. This behavior works fine on Windows (Stage is maximized when show() is called).
Run attached test program to see the behavior. This was checked on macOS Ventura 13.5.1.
- relates to
-
JDK-8305675 [macos] Stage set to iconified before being shown is displayed on screen
- Resolved
-
JDK-8298500 Create test to initially show stage with various attributes (iconified, maximized, full screen)
- Resolved