mojira.dev
MC-312033

Right-Clicking happens twice unless modifier keys are held

Description
When I right-click, the game registers as if I clicked twice instantly, unless I’m pressing a modifier key like shift or ctrl.
This affects interactable blocks (e.g. levers, doors) and other actions in the world like equiping a armor piece.
It doesn’t affect clicks on GUI however, right clicking a item stack is properly registered as a single click.

Steps to reproduce
- Right click any interactable block.

Expected Result
The expected result is a single click registered.

Actual Result
What actually happens is a instant double click.

(Note: This is probably very hardware dependent, but I found another report of this issue made by another person on reddit, so it’s not a isolated case)

Update:
The issue was caused by some conflict with a AutoHotKey script. Similar software or utilities may also cause the same issue.

Environment

OS: Windows 11, GPU: Rx 9060 XT

Linked issues

Attachments

Comments 5

Thank you for helping us improve Minecraft! We saved your files:

[media]

Does this also happen for other games when the cursor is captured by the application?

Does this also happen for other games when the cursor is captured by the application?

No, it happens only in Minecraft Java Edition, and specifically in 26.3

Are you running X-Mouse Button Control or another mouse-remapping utility? If so, please completely exit it, and repeat the test. The reporter of MC-312241 traced similar symptoms to that software.

Yes, I have a AutoHotKey script for custom shortcuts, and apparently it was interfering with Minecraft mouse input somehow. Running the game without the having the script enabled, solves the issue.

Smiter

(Unassigned)

Unconfirmed

26.3

Retrieved