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

'Key Down' event handling is broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.13.2, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 10 64-bit Build 17763

      JRE 1.8.0_201-b09 64-bit
    • Confirmation Status:
      Unconfirmed

      Description

      This bug can be triggered by just holding a key that should do a single event once per stroke. For example:

      • If you hold E to open your inventory, it'll open and close it over and over again until you stop pressing E; it should just open your inventory if closed and vice-versa and stay that way.
      • If you hold ESC to pause the game, it'll pause and unpause the game over and over again until you stop pressing ESC; it should just pause the game if unpause and vice-versa and stay that way.

       

      I explain briefly how and why this happens and demonstrate how to reproduce this bug in [this video|https://youtu.be/TZjc7w6LEvA.]

       

      I cannot guarantee that this bug will work in other operating systems, as I only know how Windows sends key events to the applications and I have not tested this in other operating systems.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Fefo6644 Federico López
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: