RFR: 8282270: java/awt/Robot Screen Capture tests fail after 8280861 [v2]
Alexey Ivanov
aivanov at openjdk.java.net
Tue Mar 15 18:39:47 UTC 2022
On Wed, 9 Mar 2022 07:01:57 GMT, Maxim Kartashev <duke at openjdk.java.net> wrote:
>> you can check both cases, if the scale=1 then use high precision.
>> if the scale > 1 then you can use low precision -> if the scale is equal to 2 then shift by two/four pixels or something like that?
>
>> if the scale > 1 then you can use low precision -> if the scale is equal to 2 then shift by two/four pixels or something like that?
>
> @mrserb I suppose I could do that, but then it wouldn't be much different from the existing tests that verify color inside a sufficiently large area. I can make this area smaller, but this still won't help to find a rounding error in `gtk3_get_drawable_data()`.
You mentioned uiScale=3 doesn't work correctly. Does it not work with uiScale=2 either?
Is it proven the test can't get the colored pixels precisely with uiScale=2?
-------------
PR: https://git.openjdk.java.net/jdk/pull/7613
More information about the client-libs-dev
mailing list