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

Pressing the SPACE or ENTER keys to interact with elements results in the pressed key being executed again

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.2, 1.17.1, 21w37a, 21w38a, 21w43a, 1.18 Pre-release 1, 1.18.1, 22w05a, 1.18.2, 22w17a, 1.19, 1.19.1, 1.19.2, 22w46a, 1.19.3, 1.19.4, 23w14a, 1.20 Pre-release 5, 1.20 Pre-release 6, 1.20 Pre-release 7, 1.20 Release Candidate 1, 1.20, 1.20.1, 1.20.4, 24w07a, 1.21, 1.21.1, 24w38a, 1.21.4
    • None
    • Confirmed
    • Accessibility
    • Normal
    • Platform

      The Bug:

      Pressing the SPACE or ENTER keys to interact with elements results in the pressed key being executed again.

      This can also be seen when exiting GUIs by pressing the "Done" button. Additionally, clicking on a button that will have a search field in focus after interacting with it, will result in the search field being inputted with a SPACE.

      Steps to Reproduce:

      1. Hit the ESC key on your keyboard.
      2. Press the TAB key once to focus the "Back to Game" button.
      3. Now press the SPACE key.
      4. Take note of how your character jumps indicating that pressing the SPACE key to interact with a button results in the SPACE key being executed again.

      Observed Behavior:

      Pressing the SPACE or ENTER keys to interact with elements results in the pressed key being executed again.

      Expected Behavior:

      Pressing the SPACE or ENTER keys to interact with elements would not result in the pressed key being executed again.

        1. MC-233888.mp4
          4.03 MB
        2. MC-233888.png
          MC-233888.png
          589 kB
        3. MC-233888-1.png
          MC-233888-1.png
          862 kB

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            7 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: