JDK-8232812 : [MacOS] Double click title bar does not restore window size
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 10,openjfx11,openjfx12,openjfx13
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2019-10-11
  • Updated: 2021-11-23
  • Resolved: 2021-11-15
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
openjfx18Fixed
Related Reports
Duplicate :  
Relates :  
Description
A DESCRIPTION OF THE PROBLEM :
When I click title bar twice quickly , a application should be enlarge, and double click title bar again, the window should restore to previous size. The problem is JavaFX application can't resize to previous size when double click title bar.

I try a simple application from official maven example which only a stage containing a label.
I also try three JavaFX versions since 11.0.2 , and all of them have this problem.

But the Ensemble8 app in App Store don't have this problem, I haven't install java 8 on my Mac, so I didn't test the issue with JavaFX8, Maybe it's not a problem with JavaFX8.

openjdk version: 12.0.2
openfx version: 11.0.2, 13, 14-ea+1
Mac version: macOS Mojave 10.14.6


FREQUENCY : always



Comments
Changeset: 7ddd6427 Author: Martin Fox <beldenfox@users.noreply.github.com> Committer: Kevin Rushforth <kcr@openjdk.org> Date: 2021-11-15 13:24:56 +0000 URL: https://git.openjdk.java.net/jfx/commit/7ddd6427814877ddf191b83e371f166b326ce821
15-11-2021

I can confirm that this is a regression. It works on JDK 8u231, and fails at least as far back as JDK 10. Also, it fails on macOS 10.13 and 10.15 (Catalina) in addition to the reported failure on macOS 10.14 (Mojave). It's likely we introduced a bug in FX in JDK 9 or JDK 10.
19-11-2019