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

Game pauses on physical escape key <AF00> rather than X generated ESC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19 Pre-release 3, 1.19, 1.19.2, 1.19.3, 23w04a, 23w05a, 1.19.4, 1.20.6
    • None
    • Java edition, Ubuntu 20.04.4 LTS
    • Community Consensus
    • Input
    • Normal
    • Platform

      This is more of a design flaw than a bug, but an issue none the less. It appears that in 1.19-pre3 the pause key is the physical escape key rather than what X11 generates as escape. In particular, I am running Ubuntu 20.04.4 LTS and (as a vim user) have swapped caps lock and escape. I have tried switching them using Xmodmap (through gnome tools) and by editing the us keymap in xkb/symbols. (There may be a more fundamental way to switch caps lock and escape through the locale that is independent of X but I am unaware of it)

      Minecraft 1.18 uses X11's escape key (and thus Minecraft respects the switch) but 1.19 pre3 seems to use the physical key (and thus does not respect the switch).

      Some solutions to this might be: return to how it was in 1.18 (read from X/OS) or add a keybinding for an extra pause button (so that pause can't be lost - presumably this is what the change was about).

            Unassigned Unassigned
            ryanmart00 ryanmart00
            Votes:
            24 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              CHK: