JDK-8145393 : [Mac] Setting fullScreen on UNDECORATED or TRANSPARENT Stage hangs
  • Type: Bug
  • Component: javafx
  • Sub-Component: window-toolkit
  • Affected Version: 8u60,9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86_64
  • Submitted: 2015-12-15
  • Updated: 2016-07-19
  • Resolved: 2016-07-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.
JDK 9
9Resolved
Related Reports
Duplicate :  
Relates :  
Description
This can be reproduced using the attached test programs. These programs are slightly modified from the Hello toys of the same name by adding a call to Stage.initStyle to set the stage to UNDECORATED before entering full-screen mode.

Steps to reproduce using HelloFullscreenToggle:

1. java HelloFullscreenToggle
2. Press the "Toggle Fullscreen" button
3. BUG: Window does not go into full-screen

Steps to reproduce using HelloFullscreen:

1. java HelloFullscreen
2. BUG: Window does not go into full-screen
3. Press the "Exit" button
4. BUG: Nothing happens
5. Press the "Close" button
6. BUG: window closes but application does not exit

This works fine on Windows or Linux, but fails on Mac OS X.
Comments
For a Stage that is already showing (e.g., HelloFullScreenToggle), it is the call to setFullScreen that hangs.
15-12-2015

I have attached a thread stack dump from HelloFullscreen. It shows that the call to Stage.show for a stage that is initially set to full-screen mode never returns.
15-12-2015