<AWT Dev> [13] Review Request: 8214046 [macosx] Undecorated Frame does not Iconify when set to

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Apr 15 04:13:09 UTC 2019


Hello.
Please review the fix for JDK 13.

Bug: https://bugs.openjdk.java.net/browse/JDK-8214046
Fix: http://cr.openjdk.java.net/~serb/8214046/webrev.00

After we upgrade our compilers and sdk in the JDK 11, the method NSWindow#miniaturize which we use to iconify the frame stopped working.
Now, this method pays attention to the NSMiniaturizableWindowMask flag, but we set this flag only for decorated windows(this is how we hide the minimize button on the title).

In the fix, we set this flag for decorated and undecorated windows.

-- 
Best regards, Sergey.


More information about the awt-dev mailing list