mojira.dev
MC-246988

Camera moves in the direction of the cursor when closing UI's on macOS

Whenever I close my inventory, chest, crafting, or menu, while moving my cursor, the camera would jump to the direction of the cursor.

To reproduce, open your inventory and close it while moving your cursor.

Edit: I've only seen this issue on Macs.

Linked issues

Attachments

Comments 15

i cannot confirm this

I forgot to mention that I have only seen this bug on Macs.

ok but at least it didn't happen on both my windows and my mac

Can confirm on Mac (MacOS 11.6, Minecraft Java 1.18.2).

5 more comments

I am unable to reproduce this issue, can you confirm that you are able to reproduce this issue on the latest version?

Cannot reproduce on latest release 1.12.3 as well, at least not from a few minutes testing, I haven't played for long. Thanks 🙂
Sorry, it wasn't my intention to reopen the issue...

It definitely still happens in 1.21.3. I can get it to happen in both a chest and an inventory screen. I am running the game full screen on MacOS 15.1. i open a container, move mouse and exit the container while the mouse is moving. The first person view will snap to a different position than the original position. I've included a link to a video to demonstrate. video example

Also able to reproduce it. It seems that if you completely stop the mouse movement before closing inventory it doesn't happen. You have to be moving the mouse at the same time you close inventory. Video Here

Confirming still happens and is easily reproducible in 1.21.0. Doesn't always happen.

[media]

demonstrates it happening. I have mods installed but I have tested it both vanilla and with my mods and neither makes any difference to this action.

Cursetopher

(Unassigned)

Confirmed

Platform

Important

Input

1.18.1, 1.18.2, 1.19, 1.19.4, 1.20.1, ..., 24w34a, 1.21.3, 1.21.4 Release Candidate 3, 25w02a, 1.21.5 Pre-release 2

Retrieved