On Thu, 7 Oct 2021 23:41:37 GMT, Phil Race <[email protected]> wrote:

> Once again, hi-dpi does not matter for these tests. It is not what they are 
> trying to test and there is no other "hi-dpi" testing going on anyway on 
> these other platforms

Why hiDPI does not matter for the tests like these 
PaintNativeOnUpdate/BackgroundIsNotUpdated/TranslucentJAppletTest? All of them 
may have different bihaviour in low and hi modes.

> there is no other "hi-dpi" testing going on anyway on these other platforms

I run the tests in this mode all the time.

> I looked at the Robot code and it was getting different answers _from a macos 
> api_ depending on whether it asked for some larger region first.

It is just impossible that CGWindowListCreateImage which we use to catch the 
pixels returns different results, since we call it using the same coordinates, 
it does not affect by the uiScale option. The bug in some other place/methods. 
We ever calculate the wrong bounds/size of the image or incorrectly store it.

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

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

Reply via email to