On Fri, 10 Jun 2022 05:42:11 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> If I remember correctly, MRI will contain only one image captured by Robot, 
>> so it would return the only image it stores, which would not be scaled down 
>> if High DPI is in effect.
>> 
>> However, the test is supposed to run with `UIScale=1`, so this should make 
>> any difference.
>
> On the HiDPI screen that MRI will have two images, and my expectation is that 
> the image requested by the updated test and the image used before the fix 
> should be the same.

How to find those 2 bufferedimages returned by 
`createMultiResolutionScreenCapture `and `createScreenCapture `are same or not 
apart from pixel check (which shows obviously they are not same and color 
differ by 1)?

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

PR: https://git.openjdk.org/jdk/pull/9011

Reply via email to