RFR: 8359061: Update and ProblemList manual test java/awt/Cursor/CursorDragTest/ListDragCursor.java [v2]

Harshitha Onkar honkar at openjdk.org
Wed Jun 11 21:35:29 UTC 2025


On Wed, 11 Jun 2025 17:00:39 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:

>> Yes, I noticed it on windows OS, I haven't tested on macOS yet.
>
> 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.

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

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


More information about the client-libs-dev mailing list