On Mon, 19 Aug 2024 09:20:06 GMT, Tejesh R <t...@openjdk.org> wrote: >>> The test is failing on my windows machine with an error - >>> _java.lang.RuntimeException: Button renderings are different after window >>> resize, num of Diff Pixels=1576_ Images are uploaded for reference. >>> >>>  >>> >>>  >> >> @TejeshR13 I have run it multiple times on different windows >> machines(Windows 2022, 10, 11) in mach5 and it passed everywhere and visibly >> I don't see any differences in the images attached by you. Can you try with >> the updated test which is attached to the bug(it will generate two diff >> images if the test fails), so that we will come to know what exactly is the >> difference between the images. > >> > The test is failing on my windows machine with an error - >> > _java.lang.RuntimeException: Button renderings are different after window >> > resize, num of Diff Pixels=1576_ Images are uploaded for reference. >> >  >> > >> >  >> >> @TejeshR13 I have run it multiple times on different windows >> machines(Windows 2022, 10, 11) in mach5 and it passed everywhere and visibly >> I don't see any differences in the images attached by you. Can you try with >> the updated test which is attached to the bug(it will generate two diff >> images if the test fails), so that we will come to know what exactly is the >> difference between the images. > > If u can notice there is a slight positional difference of desktop icon of > the Java app....... I guess the image comparison includes those also?
@TejeshR13 , no, it just compares the Button renderings only, nothing else. `bimage = robot.createScreenCapture(new Rectangle(buttonLoc.x, buttonLoc.y, button.getWidth(), button.getHeight()));` ------------- PR Comment: https://git.openjdk.org/jdk/pull/20532#issuecomment-2296098282