JDK-8253997 : [macos] Stage set to maximized before showing will animate maximization
  • Type: Bug
  • Component: javafx
  • Sub-Component: window-toolkit
  • Affected Version: jfx14
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: os_x
  • CPU: x86_64
  • Submitted: 2020-09-29
  • Updated: 2023-09-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
ADDITIONAL SYSTEM INFORMATION :
JDK / JavaFX 14

A DESCRIPTION OF THE PROBLEM :
Create a Stage on macOS. setMaximized(true). Show the stage. It will appear in the middle of the screen unmaximized and then immediately start to maximize using an animation, complete with resizing of the scene.

It should appear fully maximized with no transition visible.


FREQUENCY : always



Comments
Attached a simple test program, based on HelloFullScreen, that reproduces the problem using setMaximized.
06-10-2020

I can reproduce this on all versions of JavaFX that I tried. I also note that setting the fullScreen property (instead of maximized) to true similarly animates the window going into full screen on macOS. To reproduce the problem with fullScreen, run the HelloFullscreen example program.
06-10-2020

Moving to JDK for further evaluation. The reported problem relates to JDK-8237491
05-10-2020