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

On Linux, pressing and holding multiple keys at the same time may delay or prevent movement

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.17.1, 1.18 Release Candidate 1
    • None
    • OS: Arch Linux, but also present on other distributions such as Pop!_OS
      Display server: X11 and Wayland
      Java Version: 17.0.1
    • Plausible
    • Input
    • Normal

      EDIT: This bug comes from GLFW. This issue has been fixed in newer versions, but Minecraft ships with an older version of GLFW where the bug has not been fixed.

      Video demonstration of the bug: https://www.youtube.com/watch?v=8h5Jif6zyDs

      In the video, there is a little overlay that shows which keys I press.

      • If I press and hold 'W', I immediately start moving forward immediately.
      • If I simultaneously press and hold 'W' and my spring key at the same time, I move forward but there is a small delay before I start moving forward.
      • If I simultaneously press and hold 'W', my sprint key, and 'Spacebar' all at the same time, I do not move forward. Instead, I only jump in place.
      • If I press and hold 'W', my sprint key, and 'Spacebar' but begin pressing them at different times, the bug does not trigger.

      This bug triggers very often and is very disruptful to the gameplay. It can very easily get you killed.

            Unassigned Unassigned
            the_leaflet Evan Mohr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: