mojira.dev
MC-278368

Binding "Open/Close Inventory" to a special Mouse click (e.g. 4 or 5) won't Close inventory, only Open

I know a similar bug was resolved around the Tab key (MC-145691), but this is happening to me when I try to bind Mouse Button 4 or Mouse Button 5 to the action of "Open/Close Inventory" (that usually defaults to E). Clicking such mouse buttons will Open the Inventory, but doing so again will not Close it. It also does not Close other UI elements such as Villager trading windows. I've tested it against different keybinds and they do work as intended, so my guess is this is related to mouse-clicking events. I also had the same issue when testing the action to be keybound to Right-click of the mouse.

Related issues

Comments

BugTracker

Duplicates MC-156810 🙂

Arisa Bot

Thank you for your report!
We're tracking this issue in MC-156810, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

migrated

(Unassigned)

Unconfirmed

(Unassigned)

1.21.3

Retrieved