mojira.dev
MC-266211

Mouse gets stuck on click after Alt+Tab on Ubuntu machines

Whats the effect


After the procedure outlined in How to replicate?, you wont be able to do turn your head when holding mouse buttons.

How to replicate?


# Boot latest ubuntu version.

  1. Download minecraft.

  2. Open minecraft.

  3. Join into world/server.

  4. ALT + TAB into an another window.

  5. ALT + TAB back into minecraft.

  6. Hold M1 and try to turn arround (you wont be able to).

Linked issues

Attachments

Comments 7

I am not able to confirm this issue, since I am on Windows, but a video of you experiecing the issue would be very helpful in investigating this. Could you please provide one?

https://youtu.be/tYMeevBMHco

Here it is, now that i think about it it doesnt show much, but hey the best i can do to prove that this actualy exists. Although in 1.20.4 now the mouse only gets stuck when you alt tab out and alt tab back.

Can confirm in 1.21 pre-release 1.

Steps to reproduce:

  • Open Minecraft.

  • Switch to any other window.

  • Hold left click.

  • Switch back to the Minecraft using alt+tab.

  • Press esc and try to move.

  • Notice that while you can still move with WASD, you can't rotate the camera.

Does this work in a virtual machine (e.g. Ubuntu on VMware) on a Windows machine?

I don't know, quite possibly it will.

Thank you for your report!
After consideration, the issue is being closed as Won't Fix.

Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

lukeonuke

(Unassigned)

Community Consensus

Input

1.20.2, 1.20.4, 1.21 Pre-Release 1

Retrieved