Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-267350

Minecraft fails to capture the mouse when closing the UI while the cursor is outside of the game window

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.4
    • None
    • Ubuntu 23.10
    • Plausible
    • Input
    • Normal
    • Platform

      The bug

      If a UI screen such as the inventory or game menu is opened while the game is in windowed mode, the mouse cursor is moved outside of the game window, and then the inventory/menu/etc. is closed again through the keyboard, the mouse cursor is not immediately sucked back into the game window. This makes controlling the game difficult, since the cursor is not bound to the center of the window even when it reenters and can exit it by moving far enough like is the case with any other window.

      Opening a menu screen and then exiting it while the cursor is within the window will get rid of this behaviour.

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: