RFR: JDK-8017182 : [macosx] MouseClickCount.java produces click count greater than 1 when left-button click is followed by quick right button click
Phil Race
prr at openjdk.org
Fri Sep 19 05:12:14 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" />
What is in the description maybe misunderstanding the issue as I don't see how mouse sensitivity is related.
Look at the original bug report https://bugs.openjdk.org/browse/JDK-4199397 which describes how clicking two different buttons is interpreted as a double-click.
Apple mice do not have buttons, they have some notion of area.
I would verify this manual test only with a mouse with physical buttons.
Or better, do as suggested and automate it.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27379#issuecomment-3310591716
More information about the client-libs-dev
mailing list