RFR: JDK-8017182 : [macosx] MouseClickCount.java produces click count greater than 1 when left-button click is followed by quick right button click

Sergey Bylokhov serb at openjdk.org
Fri Sep 19 01:21:30 UTC 2025


On Thu, 18 Sep 2025 23:59:05 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

> On macOS mouse sensitivity setting play a role in click count increment. By increasing the double-click speed under
> (Settings > Mouse Sensitivity > Double click speed), the click count no longer shows as 1,2.
> 
> <img width="300" height="250" alt="image" src="https://github.com/user-attachments/assets/f764b639-5a05-46aa-a69e-d85f96a1c9c4" />

test/jdk/java/awt/Mouse/MouseClickCount.java line 46:

> 44:                 2. Verify that a left-button click followed by a right button click quickly
> 45:                    will not generate 1, 2, i.e. it's not considered a double clicking.
> 46: 

Why can't we automate this test?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27379#discussion_r2361474207


More information about the client-libs-dev mailing list