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 [Mod] bemoty can be found in this comment.
Created Issue:
Text fields in customized world generation act strange
The text fields for the customized world generation (page four) act really strange.
Decimal point
By default the decimal point is a comma, however once you removed it you can only type a point, but not a comma anymore.
Changing the value
It seems that unless you remove the comma you are unable to modify the value in any way.
Invalid characters are allowed
You can type d or f as last character and e in the middle of the number. While e might be used for exponents, I am unsure what d and f are used for.
Pasting
Pasting a value always removes the complete value instead of appending it when nothing is selected.
Holding keys
Holding down keys only causes the character or action to be performed once. This is inconsistent with for example the chat. Holding down a key is mostly useful when using backspace.
Text fields in customized world generationact strangeText fields in customized world generation do not enable repeated events
The text fields for the customized world generation (page four) act really strange.
Decimal point
By default the decimal point is a comma, however once you removed it you can only type a point, but not a comma anymore.
Changing the value
It seems that unless you remove the comma you are unable to modify the value in any way.
Invalid characters are allowed
You can type d or f as last character and e in the middle of the number. While e might be used for exponents, I am unsure what d and f are used for.
Pasting
Pasting a value always removes the complete value instead of appending it when nothing is selected.
Holding keys
Holding down keys only causes the character or action to be performed once. This is inconsistent with for example the chat. Holding down a key is mostly useful when using backspace.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 everytime you want to activate it. As far as I know this is the only guy where it is not explicitly enabled (based on MCP 1.8).
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 everytime you want to activate it. As far as I know this is the only
guywhere it is not explicitly enabled (based on MCP 1.8).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 everytime 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).
relates to
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).
relates to
Can confirm for 16w33a.
Oops, fail.
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 [Mod] bemoty can be found in this comment.
is blocked by
Can confirm for 1.10.2.
Related to
MC-94502?Can confirm for 16w32a.
Can confirm for 16w32b.
Is already marked as affected...
Confirmed for 1.11.2
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.