mojira.dev
MC-150164

Cursor position does not reset after alt-tabbing into the game with pause on focus loss disabled

Reproduce:

  1. Press F3+p to disable pause on focus loss

  2. Alt-tab

  3. Move the mouse

  4. Alt-tab back into the game

  5. Open inventory

  6. The cursor is where you left it when tabbing back
    After closing the inventory and opening it back again the cursor is now reset to the center of the screen. The issue is present both in windowed and fullscreen mode.

After opening the inventory:

[media]

Normal behavior:

[media]

Linked issues

Attachments

Comments 5

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Can confirm in 20w51a.

Jozef Kralik

(Unassigned)

Confirmed

(Unassigned)

Minecraft 1.14, Minecraft 1.14.3 Pre-Release 3, Minecraft 1.14.3, 20w51a, 1.19.4, 1.21.4

Retrieved