Pressing ESC in world settings returns to main menu instead of world list
The bug
When you press ESC while you are changing settings for a world you want to generate (for example "Superflat" or "Customized") the game returns to the main menu instead of the world list.
How to reproduce
- Open the "Superflat" settings for creating a new world
- Press ESC
→
You will be returned to the main menu instead of the world list
The reason
The following is based on decompiled version of Minecraft 1.8 using MCP. All method and class names are the names used in the decompiled version.
The reason why this happens is because both net.minecraft.client.gui.GuiCreateFlatWorld and net.minecraft.client.gui.GuiFlatPresets call the protected void keyTyped(char typedChar, int keyCode) throws IOException method of the net.minecraft.client.gui.GuiScreen class which returns to the main menu if the Escape key is pressed. In contrast to this the net.minecraft.client.gui.GuiCreateWorld class does not call this method and binds Enter and numpad Enter to create the world. A default binding for the Enter keys might make sense.
Linked Issues
relates to4
Created Issue:
Pressing ESC in world settings returns to main menu instead of world list
The bug
When you press ESC while you are changing settings for a world you want to generate (for example "Superflat" or "Customized") the game returns to the main menu instead of the world list.
How to reproduce
- Open the "Superflat" settings for creating a new world
- Press ESC
You will be returned to the main menu instead of the world list
The bug
When you press ESC while you are changing settings for a world you want to generate (for example "Superflat" or "Customized") the game returns to the main menu instead of the world list.
How to reproduce
- Open the "Superflat" settings for creating a new world
- Press ESC
You will be returned to the main menu instead of the world listThe reason
The bug
When you press ESC while you are changing settings for a world you want to generate (for example "Superflat" or "Customized") the game returns to the main menu instead of the world list.
How to reproduce
- Open the "Superflat" settings for creating a new world
- Press ESC
You will be returned to the main menu instead of the world listThe reason
The following is based on decompiled version of Minecraft 1.8 using MCP. All method and class names are the names used in the decompiled version.
The reason why this happens is because both net.minecraft.client.gui.GuiCreateFlatWorld and net.minecraft.client.gui.GuiFlatPresets call the protected void keyTyped(char typedChar, int keyCode) throws IOException method of the net.minecraft.client.gui.GuiScreen class which returns to the main menu if the Escape key is pressed. In contrast to this the net.minecraft.client.gui.GuiCreateWorld class does not call this method and binds Enter and numpad Enter to create the world. A default binding for the Enter keys might make sense.
relates to
relates to
The bug
When you press ESC while you are changing settings for a world you want to generate (for example "Superflat" or "Customized") the game returns to the main menu instead of the world list.
How to reproduce
- Open the "Superflat" settings for creating a new world
- Press ESC
You will be returned to the main menu instead of the world listThe reason
The following is based on decompiled version of Minecraft 1.8 using MCP. All method and class names are the names used in the decompiled version.
The reason why this happens is because both net.minecraft.client.gui.GuiCreateFlatWorld and net.minecraft.client.gui.GuiFlatPresets call the protected void keyTyped(char typedChar, int keyCode) throws IOException method of the net.minecraft.client.gui.GuiScreen class which returns to the main menu if the Escape key is pressed. In contrast to this the net.minecraft.client.gui.GuiCreateWorld class does not call this method and binds Enter and numpad Enter to create the world. A default binding for the Enter keys might make sense.
The bug
When you press ESC while you are changing settings for a world you want to generate (for example "Superflat" or "Customized") the game returns to the main menu instead of the world list.
How to reproduce
- Open the "Superflat" settings for creating a new world
- Press ESC
→You will be returned to the main menu instead of the world list
The reason
The following is based on decompiled version of Minecraft 1.8 using MCP. All method and class names are the names used in the decompiled version.
The reason why this happens is because both net.minecraft.client.gui.GuiCreateFlatWorld and net.minecraft.client.gui.GuiFlatPresets call the protected void keyTyped(char typedChar, int keyCode) throws IOException method of the net.minecraft.client.gui.GuiScreen class which returns to the main menu if the Escape key is pressed. In contrast to this the net.minecraft.client.gui.GuiCreateWorld class does not call this method and binds Enter and numpad Enter to create the world. A default binding for the Enter keys might make sense.
Can confirm for MC 1.13 pre release 6
relates to
is duplicated by
relates to
is duplicated by
Can confirm for 15w51b
Might be invalid as you also return to the main menu when leaving a singleplayer worldNo, when you are in the menu to create a new world (be pressing 'Create New World') and then 'More World Options...', selecting 'Superflat' and when in the edit mode (you see the layers your world is made out of) and pressing 'Escape' will return you to the main menu, it should definitely return to 'More World Options' menu.
You are right, sorry for confusion. Could this please get reopened?
There is some other ticket resolved by Mojang:
Could you please reopen this report?
95% sure it's WAI but I can't find a parent ticket. Reopened.
Still exists in 1.9
Can confirm for MC 1.12.1.