On Tue, 5 Oct 2021 20:36:37 GMT, Martin Fox <[email protected]> wrote:
> 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. This pull request has now been integrated. Changeset: 7ddd6427 Author: Martin Fox <[email protected]> Committer: Kevin Rushforth <[email protected]> URL: https://git.openjdk.java.net/jfx/commit/7ddd6427814877ddf191b83e371f166b326ce821 Stats: 4 lines in 1 file changed: 3 ins; 0 del; 1 mod 8232812: [MacOS] Double click title bar does not restore window size Reviewed-by: kcr, pbansal ------------- PR: https://git.openjdk.java.net/jfx/pull/639
