On Wed, 18 Jun 2025 18:38:45 GMT, Damon Nguyen <dngu...@openjdk.org> wrote:

>> This change is to restore the original intent of the test by updating the 
>> instructions to check that the type of Cursor is preserved when clicked and 
>> dragged. Now the test correctly has instructions to check that an I-beam 
>> cursor stays an I-beam until released over a List with its cursor being 
>> updated to a Hand cursor.
>> 
>> There is a bug where this does not correctly update in macOS (found in 
>> [JDK-7177297](https://bugs.openjdk.org/browse/JDK-7177297)). So, this test 
>> needs to be problem-listed.
>> 
>> I have confirmed that preserving the cursor image when dragging is native 
>> behavior across macOS, Windows, and Ubuntu. And I have checked that the test 
>> passes on both Windows and Ubuntu, while macOS fails and immediately updates 
>> the cursor as it leaves the TextArea.
>
> Damon Nguyen has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Change timeout and instructions columns.

**Funny!**

> The Windows test failing in PFJ was a separate issue that was found through 
> this update.

You submitted [JDK-8359469](https://bugs.openjdk.org/browse/JDK-8359469) to 
find the problem… What `PassFailJFrame` has in addition to a static frame that 
doesn't display anything is a **timer**. The timer updates each second, which 
sends additional messages — the dragged cursor changes as soon as the displayed 
time updates.

Pause the timer, and the drag cursor doesn't change until you release the left 
mouse button.

Harshitha was close to discovering it.

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

PR Comment: https://git.openjdk.org/jdk/pull/25705#issuecomment-2985440963

Reply via email to