-
Bug
-
Resolution: Fixed
-
Minecraft 1.4.1, Minecraft 1.4.2, Minecraft 1.4.3, Minecraft 1.4.4, Minecraft 1.4.5, Snapshot 12w50b, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w03a, Snapshot 13w07a, Minecraft 1.5, Snapshot 13w11a, Snapshot 13w16a, Minecraft 1.5.2, Snapshot 13w18c, Snapshot 13w19a, Snapshot 13w24a, Snapshot 13w24b, Snapshot 13w25a, Snapshot 13w25b, Snapshot 13w25c, Snapshot 13w26a, Minecraft 1.6, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 13w36b, Minecraft 13w37a, Minecraft 13w37b, Minecraft 13w38a, Minecraft 13w38b, Minecraft 13w38c, Minecraft 13w39b, Minecraft 13w41a, Minecraft 13w41b, Minecraft 13w42a, Minecraft 13w42b, Minecraft 13w43a, Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 13w47a, Minecraft 13w47b, Minecraft 13w47c, Minecraft 13w48a, Minecraft 13w48b, Minecraft 13w49a, Minecraft 1.7.3, Minecraft 1.7.4, Minecraft 14w02c, Minecraft 14w03a, Minecraft 14w03b, Minecraft 14w04b, Minecraft 14w05b, Minecraft 14w06a, Minecraft 14w06b, Minecraft 14w07a, Minecraft 14w08a, Minecraft 1.7.5, Minecraft 14w10b, Minecraft 14w10c, Minecraft 14w11b, Minecraft 1.7.9, Minecraft 14w21b, Minecraft 14w28a, Minecraft 14w28b, Minecraft 14w34c, Minecraft 1.8, Minecraft 1.8.1-pre1, Minecraft 1.8.1-pre2, Minecraft 1.8.1-pre3, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 1.8.2-pre5, Minecraft 1.8.2-pre6, Minecraft 1.8.4, Minecraft 1.8.7, Minecraft 15w32c, Minecraft 15w35c, Minecraft 15w35e, Minecraft 15w36d, Minecraft 15w39c, Minecraft 15w41b, Minecraft 15w43c, Minecraft 15w45a, Minecraft 15w46a, Minecraft 15w47c, Minecraft 15w49a, Minecraft 1.8.9, Minecraft 15w50a, Minecraft 15w51b, Minecraft 16w02a, Minecraft 16w03a, Minecraft 16w04a, Minecraft 16w05b, Minecraft 16w06a, Minecraft 16w07a, Minecraft 16w07b, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w14a, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.10.1, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w36a, Minecraft 16w42a, Minecraft 1.11.2, Minecraft 17w18b, Minecraft 1.12 Pre-Release 1, Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 3, Minecraft 1.12 Pre-Release 6, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w03b, Minecraft 18w05a, Minecraft 18w06a, Minecraft 18w07a, Minecraft 18w07b, Minecraft 18w08b, Minecraft 18w11a, Minecraft 18w14a, Minecraft 18w14b, Minecraft 18w16a, Minecraft 18w19b, Minecraft 18w20c, Minecraft 18w21a, Minecraft 18w21b, Minecraft 18w22c, Minecraft 1.13-pre1
-
Confirmed
The bug
Triggers
- toggling fullscreen
- resizing the window
- alt-tabbing out of the game in fullscreen (as of 17w43+)
Results
- Changing text in most text boxes then will revert the text. Exceptions are naming (not renaming) a world, entering a seed and writing on a sign.
- also resets the scroll bars in the statistics menu and returns you to the "General" tab.
- disables most of a command block interface (as of 17w43+)
How to reproduce
- Press 't' to bring up the console
- Type something but don't send it
- Toggle fullscreen or resize the window
- The text disappears, or reverts to nothing when it should remain
Code analysis
from marcono1234:
The reason for this is that the private void resize(int width, int height) method of the net.minecraft.client.Minecraft class (MCP names for Minecraft 1.8) calls the public void onResize(Minecraft mcIn, int width, int height) method of the net.minecraft.client.gui.GuiScreen class. This method however is a method that creates (not updates) the GUI. A partial fix would be to have the private void resize(int width, int height) method call some kind of updating method only and passing the width and height. Additionally textboxes could have an anonymous class that calculates the position based on the attributes of the screen it is in.
- is duplicated by
-
MC-7885 Typing in a text box then altering screen orientation deletes the text
- Resolved
-
MC-9521 Resizing screen removes any text written in chat bar
- Resolved
-
MC-10000 Text vanishes on resize
- Resolved
-
MC-14894 Text disappears when you resize the window
- Resolved
-
MC-15993 Minimizing While in Anvil
- Resolved
-
MC-16130 Choosing flatworld preset in windowed mode then switching to full screen mode removes preset
- Resolved
-
MC-17377 Text Fields Lose Changes After Resizing
- Resolved
-
MC-25938 Resizing game window loses text box contents
- Resolved
-
MC-29295 Minimising the Minecraft client removes command line text
- Resolved
-
MC-30385 Resource packs revert when window resized
- Resolved
-
MC-30394 Resource Pack will change reset its on/off state, when Changing Window Size
- Resolved
-
MC-30896 leaving or changing windows deletes the command block writing
- Resolved
-
MC-31101 When typing a command, if i minimize or go full screen the command is deleted.
- Resolved
-
MC-35483 Resizing the game window drops unsaved changes made to server information.
- Resolved
-
MC-44170 When i resize the direct connect window it reloads the last address I typed.
- Resolved
-
MC-49380 Commands erase when resizing window while typing command in command block.
- Resolved
-
MC-55657 "Create New World" button in "Create New World" menu (after removing the world name) gets re-enabled after resizing window
- Resolved
-
MC-63599 Pressing F11 while in scrolled down inventory puts it back at the top.
- Resolved
-
MC-63918 Maximixe direct conect bug
- Resolved
-
MC-68314 Creative Search Bar Clears when entering fullscreen
- Resolved
-
MC-71957 Resetting fields with Add Server
- Resolved
-
MC-75559 Chat/Command window loses data on fullscreen toggle
- Resolved
-
MC-76001 "Loading world" text disappears when resizing the window while the world is being loaded/created
- Resolved
-
MC-78975 Chat cleared when reformatting window
- Resolved
-
MC-81014 Minecraft Text Disappear
- Resolved
-
MC-81146 Text in chat bar clears when resizing window
- Resolved
-
MC-82588 add server address - f11 deletes input
- Resolved
-
MC-84559 Editing a command block and then changing window resets command block.
- Resolved
-
MC-85445 Chat box clears when window is resized
- Resolved
-
MC-87753 bugs with commandblocks and /summon
- Resolved
-
MC-87813 Command Block buttons become unavailable on resize
- Resolved
-
MC-88121 bugs about commandblock UI
- Resolved
-
MC-88122 bugs about commandblock UI
- Resolved
-
MC-88234 Creative search disappears when window is resized
- Resolved
-
MC-88836 Command block don't show command after scaling
- Resolved
-
MC-89532 The Text Issue
- Resolved
-
MC-91309 Command block text disappears when screen size is changed
- Resolved
-
MC-91667 Server textbox bug
- Resolved
-
MC-93112 Commandblock bug
- Resolved
-
MC-94854 Text fields "add server" clear when resizing window
- Resolved
-
MC-95027 Command block GUI failed after adjusting the window size
- Resolved
-
MC-95329 Input field for IP address resets upon going to fullscreen
- Resolved
-
MC-96702 Exiting fullscreen deletes chat and command block typing progress
- Resolved
-
MC-98576 Commands in command blocks lost when resizing window
- Resolved
-
MC-98762 F11 - Command block Command missing
- Resolved
-
MC-100242 Chat line get cleared when setting game on full screen.
- Resolved
-
MC-100634 command blocks emptied after resizing screen
- Resolved
-
MC-102787 Command block's commands disappear after minimizing/maximizing
- Resolved
-
MC-106349 Command Block Glitches when Changing Window Sizes
- Resolved
-
MC-114799 A command block's command is deleted when exiting full screen
- Resolved
-
MC-118322 switch between Fullscreen mode= text in chat will be deleted
- Resolved
-
MC-118762 Statistics Tab resets after resize
- Resolved
-
MC-120196 Maximizing the window while loading a world causes the "Loading World" text to disappear
- Resolved
-
MC-121470 Losing game focus in the statistics screen returns you to the "General" tab
- Resolved
-
MC-122818 Text in open command block gets erased when minimizing or resizing the console
- Resolved
-
MC-123137 Chat clears when switching windows
- Resolved
-
MC-123911 Switching windows with something in the chat input clears the current input
- Resolved
-
MC-124609 Chat/Commands deleted when game minimized
- Resolved
-
MC-125531 Resizing the game window will clear any text in the chatbox
- Resolved
-
MC-129174 Commands get erased on exiting full screen
- Resolved
-
MC-129452 Chat box cleared when Minecraft window loses focus in fullscreen
- Resolved
-
MC-131842 Un-fullscreening takes away chat text if you are in the middle of typing it
- Resolved
-
MC-3242 When typing in windowed, and switching to full screen, whatever you typed it gone.
- Resolved
-
MC-3420 IP's text disappear of textbox when you maximize the window
- Resolved
-
MC-3968 When resizing the window when you have something in the direct connect box, it will be gone
- Resolved
-
MC-4034 Server adres - \ resize bug
- Resolved
-
MC-5000 Text field contents removed on fullscreen change.
- Resolved
- relates to
-
MC-62366 Selected singleplayer world is unselected on screen resize
- Reopened
-
MC-54551 Resizing window while in Customized World Settings snaps back to Customized Settings page 1
- Resolved
-
MC-2835 Resizing the Minecraft window while dead grays out the Respawn/Exit to Menu buttons and several other screens
- Resolved
-
MC-66652 Messeges from previous tab completion events don't show up after changing focused height
- Resolved
-
MC-94490 Resizing the game enables all GUI elements in customized world generation settings
- Resolved
-
MC-213104 Statistics tab resets when resizing the Minecraft window
- Resolved
-
MCL-1324 Launcher forced resize on login with existing account
- Resolved