On Tue, 17 Nov 2026 19:59:44 GMT, Kevin Rushforth <[email protected]> wrote:

>> what do you think of adding a parallel timer for the platforms where we may 
>> not receive the focus?  or maybe even on all the platforms?  if we get the 
>> focus, the test ends, if not the timer fires and the test ends after a few 
>> seconds, but in any case it'll catch the NPE.
>
> Maybe, but the problem with this is that the test can then pass without 
> actually activating, thus not testing anything.
> 
> I'd probably lean towards waiting for focus, failing if we don't get it, and 
> skipping it on Linux for this specific test if there is a concern.

I've just realized I did not push the change I was discussing earlier, sorry. 
I've done it now (renaming the test so it doesn't collide). It includes the 
focused listeners, but no guards against focus-stealing prevention yet.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2373#discussion_r4607750381

Reply via email to