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

Esc key always unpauses the game in Demo mode


    • Icon: Bug Bug
    • Resolution: Fixed
    • 23w51a
    • 1.18.2, 22w16b, 22w17a, 22w18a, 22w19a, 1.19 Pre-release 2, 1.19.2, 22w42a, 22w43a, 22w45a, 22w46a, 1.20.1, 23w33a, 23w35a, 1.20.4
    • Plausible
    • Input
    • Normal
    • Platform

      The bug

      When in a submenu of the pause menu, pressing Esc takes you out of the pause menu entirely (back to the game) instead of going "back one level" and taking you back to the pause menu.

      This issue is only present when running the game in Demo mode, and the behaviour is inconsistent with when the game is launched normally.

      To reproduce

      1. Run the game in Demo mode. You can do this manually by specifying the correct arguments to the client.jar or you can select a Mojang account that has not brought the game in the Launcher.
      2. Click "Play Demo World" to create a new world
      3. Press Esc to pause the game
      4. Click "Options" to enter the Options menu
      5. Press Esc to exit the Options menu

      Expected behaviour

      The game would go back to the pause menu

      Actual behaviour

      The game unpauses entirely

            Unassigned Unassigned
            MishMoshKeel21 MMK21
            2 Vote for this issue
            2 Start watching this issue