<Swing Dev> RFR: 7190978: javax/swing/JComponent/7154030/bug7154030.java fails on mac

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Tue Nov 3 16:34:55 UTC 2020


On Fri, 30 Oct 2020 11:42:53 GMT, Prasanta Sadhukhan <psadhukhan at 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.

Removed uiScale and move frame from (0,0) location to about mid-screen and made sure robot screenCapture also captures the frame from that location. mach5 iterations is green.

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

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


More information about the swing-dev mailing list