mojira.dev
MC-40227

Mouse Button 4 in combination with a modifier key is detected as Mouse Button 5

If Mouse Button 4 is mapped to "Use Item/Place Block" the sneak-click functions do not work. The click appears to be ignored as it doesn't trigger the non-sneak function either.

I have not done exhaustive testing, but from what I can tell this only affects Mouse Button 4. Mouse Buttons 2 (of course), 3, and 5 work normally, as do keyboard keys.

Edit: updated Description and Summary to reflect better information


From MC-78394:

"Use Item" bound to NUMPAD0; When I sneak (using the RSHIFT key) I can't shoot a bow, open a chest, or place a block. Basically, anything that requires the "Use Item" function.

Linked issues

Attachments

Comments 15

Please force a crash by pressing F3 + C for 10 seconds while in-game and attach the crash report ([minecraft|http://hopper.minecraft.net/help/finding-minecraft-data-folder]/crash-reports/crash-<DATE>-client.txt) here.

Crash report, as requested.

Nothing to see in the crash report.

Yes, this is still present with Launcher version 1.3.9 and Minecraft 1.7.4

I also tested with 14w04b and it is present there as well.

5 more comments

Can someone please check if this is still an issue in the latest snapshot 17w43b?

Tested and confirmed to be working properly in 17w43b. I also went back and retested and confirmed that it is still broken in 1.12.2.

This is also broken for me in 1.12.2, but appears to be fixed in 18w02a.

I have MB4/MB5 mapped to inventory slot 8 and 9, respectively, and my test case is sneaking (on a ladder, the edge of a block, etc) while clicking MB4 to choose slot 8. This selects slot 9 in 1.12.2, but in 18w02a it correctly selects slot 9.

Maybe this is related to the LWJGL version bump?

is this still a problem?? i play in 1.8.9 and i have this problem

well, you play in 1.8.9 instead of a newer ver

Brian Conry

(Unassigned)

Confirmed

lwjgl

Minecraft 1.7.2, Minecraft 1.7.4, Minecraft 14w04b, Minecraft 14w28b, Minecraft 1.8, ..., Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w14a, Minecraft 17w15a, Minecraft 1.12.2

Minecraft 17w43a

Retrieved