On Fri, 30 Oct 2020 11:42:53 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

> Please review a test fix for an issue seen where robot image capture is wrong 
> if screen scale factor is more, which could result in button or frame to move 
> out of captured dimension of 300,300.
> Fixed by setting uiScale=1 in the test which can still reproduce JDK-7154030.
> Mach5 job has been run for several iterations in all platforms. Link in JBS.

test/jdk/javax/swing/JComponent/7154030/bug7154030.java line 55:

> 53:  * @build Util
> 54:  * @build ExtendedRobot
> 55:  * @run main/othervm -Dsun.java2d.uiScale=1 bug7154030

The "sun.java2d.uiScale" does not affect the sizes of the frame on macOS, Is it 
possible that it was reported on HiDPI screen macOS?

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

PR: https://git.openjdk.java.net/jdk/pull/955

Reply via email to