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

Cursor doesn't re-center when opening inventories on Linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.1, 1.21
    • None
    • Arch Linux, KDE Wayland, Kernel 6.3.7 - OpenJDK 17
    • Community Consensus
    • UI
    • Normal
    • Platform

      On Linux (wayland), when opening any inventory, the cursor remains in the last position left, rather than be re-centered.

      What I expected to happen was...:
      Open inventory > mouse is in the center of the window

      What actually happened was...:
      Open inventory > mouse is in last position when inventory was last opened

      Steps to Reproduce:

      1. Open inventory and place mouse somewhere on screen
      2. Close inventory and reopen it
      3. Mouse is still there and not in the middle

      Attachment

            Unassigned Unassigned
            minecraftgalaxygr dionisis
            Votes:
            10 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              CHK: