8089230: Mac: Window.maximize(false) won't restore a window into its original rectangle

Avik Niyogi avik.niyogi at oracle.com
Tue May 9 09:14:53 UTC 2017



> Begin forwarded message:
> 
> From: Avik Niyogi <avik.niyogi at oracle.com>
> Subject: 8089230: Mac: Window.maximize(false) won't restore a window into its original rectangle
> Date: 9 May 2017 2:35:39 pm IST
> To: David Hill <david.hill at oracle.com>, Kevin Rushforth <kevin.rushforth at oracle.com>, Manajit Halder <manajit.halder at oracle.com>
> Cc: Praveen Srivastava <praveen.s.srivastava at oracle.com>
> 
> Hi All,
> 
> Kindly review the fix for JDK10. 
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8089230 <https://bugs.openjdk.java.net/browse/JDK-8089230>
> 
> Webrev: http://cr.openjdk.java.net/~aniyogi/8089230/webrev.00/ <http://cr.openjdk.java.net/~aniyogi/8089230/webrev.00/>
> 
> Issue: The test case tests/system/src/test/java/test/javafx/stage/RestoreStagePositionTest.java fails with wrong window position
> 
> Cause:  setFlipFrame method in native Obj C code was implemented wrongly for restorePreZoomedRect method calling method.
> 
> Fix: Significant native changes were implemented to incorporate these changes for this particular case.
> 
> With Regards,
> Avik Niyogi



More information about the openjfx-dev mailing list