RFR: 8296554: MouseLocationOnScreenTest sometime fails when system is busy

Kevin Rushforth kcr at openjdk.org
Fri Apr 11 18:44:28 UTC 2025


On Fri, 11 Apr 2025 18:23:17 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> The other alternative (just a suggestion) is to modify the `validate()` method as follows:
> 
> * wait 1 ms
> * check the coordinates
> * if wrong, wait for longer (3? 5?)
> * check again
> * if coordinates are wrong, fail
> 
> what do you think?

I like this suggestion.

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

PR Comment: https://git.openjdk.org/jfx/pull/1772#issuecomment-2797759365


More information about the openjfx-dev mailing list