On Thu, 7 May 2026 17:02:50 GMT, Alexey Ivanov <[email protected]> wrote:

>> Tolerance is only used if the final rendering cannot be controlled by java, 
>> like shadows/transparency/etc the things which are controlled by the OS. Can 
>> you check that sRGB profile is set on the test system? 
>> 
>> Some notes about how the systems should be configured:
>> https://wiki.openjdk.org/spaces/ClientLibs/pages/81952779/Automated+client+GUI+testing+system+set+up+requirements
>
>> Can you check that sRGB profile is set on the test system?
> 
> The color profile should be set to sRGB. If the test doesn't file with sRGB 
> profile, then no change to the test is necessary.

@aivanov-jdk I will retest using sRGB profile. In any case, this test is 
intended to test button state, and adding some tolerance that accounts for 
slight rendering variations meets the goal of the test and makes it more 
resilient to the OS level rendering variations.

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

PR Comment: https://git.openjdk.org/jdk/pull/31061#issuecomment-4399408674

Reply via email to