Re: JDK 9 b159 - sun.lwawt.macosx.CWrapper$NSWindow.isZoomed never returns

2017-03-09 Thread dmitry markov
Hi Reto, Thank you for the testcase. I was able to reproduce the problem using it. I have opened JDK-8176490 for this issue. Will look into this. Thanks, Dmitry On 09/03/2017 16:41, Reto Merz wrote: Hi Dmitry, I was able to create a demo

Re: JDK 9 b159 - sun.lwawt.macosx.CWrapper$NSWindow.isZoomed never returns

2017-03-09 Thread Reto Merz
Hi Dmitry, I was able to create a demo to reproduce it. It seems that the issue is triggered by Windows#setEnabled(boolean). Steps to reproduce it with attached WindowTest.java, maybe you need 2-3 attempts: (0. start the demo program) 1. click on the button in the first window ; a second window

Re: [9] Review request for 8175301 Java GUI hangs on Windows when Display set to 125%

2017-03-09 Thread Alexander Zvegintsev
+1 Thanks, Alexander. On 09/03/2017 13:48, Sergey Bylokhov wrote: Looks fine. Hello, Could you review the updated fix: http://cr.openjdk.java.net/~alexsch/8175301/webrev.01 There are two places where D3DSurfaceData.swapBuffers() is called D3DScreenUpdateManager.run() and

Re: [9] Review request for 8175301 Java GUI hangs on Windows when Display set to 125%

2017-03-09 Thread Sergey Bylokhov
Looks fine. > > Hello, > > Could you review the updated fix: > http://cr.openjdk.java.net/~alexsch/8175301/webrev.01 > > There are two places where D3DSurfaceData.swapBuffers() is called > D3DScreenUpdateManager.run() and D3DGraphicsConfig.flip(...). > D3DScreenUpdateManager.run() uses the

Re: [9] Review request for 8175301 Java GUI hangs on Windows when Display set to 125%

2017-03-09 Thread Alexander Scherbatiy
Hello, Could you review the updated fix: http://cr.openjdk.java.net/~alexsch/8175301/webrev.01 There are two places where D3DSurfaceData.swapBuffers() is called D3DScreenUpdateManager.run() and D3DGraphicsConfig.flip(...). D3DScreenUpdateManager.run() uses the surface bounds which are