The test case for JDK-8160241 creates a window in a zoomed state (as defined by 
macOS). When the OS later goes to unzoom the window it will try to shrink it 
down to 1 point wide. This was entered as JDK-8163137 but the fix for that bug 
inadvertently disabled unzooming altogether. This PR fixes 8163137 in a 
slightly different way.

Access to the zoom/unzoom feature has changed with newer versions of macOS. To 
reproduce this you have to change `System Preferences > Dock & Menu Bar > 
Double-click a window's title bar` to `zoom`. Then use double-clicks in the 
title bar to test the feature. The green button in the title bar no longer has 
anything to do with zoom/unzoom.

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

Commit messages:
 - Unzooming windows using double-clicks works again.

Changes: https://git.openjdk.java.net/jfx/pull/639/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jfx&pr=639&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8232812
  Stats: 4 lines in 1 file changed: 3 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jfx/pull/639.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/639/head:pull/639

PR: https://git.openjdk.java.net/jfx/pull/639

Reply via email to