mojira.dev
MC-93531

Text fields in customized world generation do not enable repeated events

The bug

The text fields for the customized world generation (page four) do not enable repeated events for the keyboard. What this means is that you cannot hold down for example backspace and remove the complete input. Instead you have to press a key every time you want to activate it. As far as I know this is the only GUI where it is not explicitly enabled (based on MCP 1.8).

Code analysis

Code analysis by @unknown can be found in this comment.

Linked issues

Comments 7

Can confirm for 1.10.2.
Related to MC-94502?

Can confirm for 16w32a.

Can confirm for 16w32b.

Is already marked as affected...

Based on MCP 9.40pre-1, repeated events can be enabled in this GUI by adding Keyboard.enableRepeatEvents(true); to the net.minecraft.client.gui.GuiCustomizeWorldScreen.initGui() method. Also, repeated events need to be deactivated in the net.minecraft.client.gui.GuiCustomizeWorldScreen.onGuiClose() method (which isn't yet implemented).

Even though this is a pretty simple and obvious fix, it might be worth adding it to the ticket's description.

Also, can confirm for MC 1.12 & 1.12.1.

Marcono1234

(Unassigned)

Confirmed

customized-world-settings, gui, text-field

Minecraft 15w47c, Minecraft 15w51b, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, , Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45b, Minecraft 18w02a

Retrieved