When you are normally playing the game (i.e. not in the menu) and press alt-tab to switch to the next window, the game will open the menu with a short delay and it will reset the mouse pointer to the center of the Minecraft window.
This is in windowed mode. And of only of influence if you alt-tab quickly, to the next window. If you slowly alt-tab, searching for the right window, the game will have loaded the menu already. But it also happens when you want to use your mouse to select the window in the alt-tab 'popover'
Desired behavior: Minecraft should not meddle with my mouse pointer at that point.
Comments 8
Is this still a concern in the current Minecraft version 1.7.9 / Launcher version 1.3.11 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
To clarify: while playing Minecraft, and not in a menu, the mouse pointer is disabled. If you quickly switch to another window with alt+tab and move your mouse, it will jump back to where it was before - the center of the Minecraft window - when the escape menu opens in Minecraft. This is because opening a menu/interface in Minecraft re-enables the mouse pointer, and resets it to the center of the window.
Minecraft correctly re-enables the mouse pointer when it loses focus through alt+tab, but the escape menu incorrectly resets the pointer position when Minecraft does not have focus.
In short: the escape menu code should check to see if the Minecraft window still has focus before resetting the mouse pointer position.
Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w43a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time. If you are the owner/reporter of this ticket, you can modify the affected version(s) yourself.
Is this still a concern in the current Minecraft version 1.7.5 / Launcher version 1.3.9 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.