On Tue, 10 Jun 2025 22:23:32 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

>> I have been looking at it and fiddling with the standalone 
>> (non-PassFailJFrame) test to see if I can re-create the behavior without 
>> `PassFailJFrame`. I suspected AWT components being the issue but I can't see 
>> why.
>> 
>> I tried using EventQueue and SwingUtilities `invokeAndWait()` method to see 
>> if either made a difference, but to no success. I tried different layouts 
>> for the frame but I got the same result. I'll keep looking but I may also 
>> append `windows` to the ProblemList temporarily if I cannot find the source 
>> in a reasonable amount of time.
>
> Could it be that mere existence of other windows created by the same Java 
> process somehow changes the cursors?
> 
> I mean `PassFailJFrame` displays another window. What if you create a second 
> window (that may display nothing inside) in your stand-alone test? Does it 
> change what cursors you see when dragging?

Oh I forgot to mention it, but I did check that as well. I made another empty 
frame with nothing inside to see if it was a focusing issue or something 
similar. Same results however, so I still can't pinpoint the issue. You 
mentioned @TejeshR13 had a similar issue with `PassFailJFrame` causing a 
difference in a test?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25705#discussion_r2139184210

Reply via email to