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).
Linked issues
is duplicated by
Comments


I have the same issue - would love to see this fixed

I also experience the same issue on the Linux platform (Ubuntu 22.04 LTS with XWayland). I've tried rebinding the key through a few different means to no avail.

This is true. I am one 1.19.3 and this is STILL an issue. I swap caps lock and esc.

This is still an issue in snapshot 23w04a

Still an issue in snapshot 23w05a

Any updates on this?

I have to spam hit the ESC key if i want the exit menu to appear. Single player. Realms and Server. (Bedrock V.1.20.32)

> (Bedrock V.1.20.32)
@PeonyGirl13
Almost certainly unrelated to this issue, considering that this is talking about Java on Linux (you weren't clear about your OS, so I'm assuming Windows, since afaik Bedrock doesn't work on Linux). You should probably search for/open that issue on the Bedrock Jira project instead.

This links to JAVA indeed, thank you, this platform is like a never-ending hole to find something!!! All I know is that i am on Bedrock version 1.20.41 and my ESC key does not pause the game and it has been an issue for the last couple of updates...

Why not let people rebind Esc in the settings? Or at least allow a custom binding for an "secondary escape" key if Mojang is worried about support issues from changing the actual Esc key?
Relates to MC-252230 (
Esc
key doesn't pause the game in MacOS)