On Thu, 29 Aug 2024 19:07:29 GMT, Manukumar V S <[email protected]> wrote:

> This is a highly intermittent failure, and it failed only once in CI on a 
> particular windows machine and passed on all other runs. 
> 
> Failure reason:
> When the button was displayed for the first time, the focus rectangle drawn 
> on the button text(Button A) was not seen(failure images attached in the bug).
> 
> Fix:
> To stabilize the test, I have added a line -> button.setFocusPainted(false), 
> so that the focus rectangle will not be painted

After going through the test runs which you have shared, I suggest some 
stabilization is required along with FocusPaint fix. As attached here, in one 
of your test runs, failure is caused due to capture of distorted image.
![image2](https://github.com/user-attachments/assets/5744cb82-24da-45c3-a5d9-e88b7864bae3)

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

PR Review: https://git.openjdk.org/jdk/pull/20777#pullrequestreview-2271459780

Reply via email to