RFR: 8359061: Update and ProblemList manual test java/awt/Cursor/CursorDragTest/ListDragCursor.java [v2]
Damon Nguyen
dnguyen at openjdk.org
Wed Jun 11 21:41:27 UTC 2025
On Wed, 11 Jun 2025 21:33:02 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:
>> On Windows in PassFailJFrame, I get the correct behavior for a short period of time before it updates. Is that what you're seeing too? Or does it immediately update?
>>
>> @honkar-jdk Can you try that other test I attached to the JBS issue? It does not use PFJFrame.
>
> @DamonGuy
>> It seems like there's a bug with this test when using it in a PassFailJFrame. When I move the createUI logic into a standalone java class's main method and add setVisible(true), the test works as expected for all OS's except macOS.
>
> I missed your earlier comment. Yes this seems to be true. Interestingly the cursor does not update when dragging across components until the left button is released with the standalone test on windows but with PFJ it does. I tried with PFJ's splitUI() & JPanel but the issue persists.
Thanks for checking. I spent some time looking through the PFJFrame class and the standalone changing the test to better represent the PFJFrame version better, but I can't determine the exact cause. I will update this PR to include windows in the problem list and create a new JBS issue for windows.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25705#discussion_r2141159607
More information about the client-libs-dev
mailing list