Most text boxes / chat / scroll bars revert when the window changes size, fullscreen mode is toggled, or fullscreened game is tabbed into
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.
Linked Issues
is duplicated by67
relates to7
- Fixed
[Mod] Sonicwave5ives
Rikard Herlitz- 85
- 26
- Confirmed
- box resize revert server text window
1.4.1 - 1.13-pre1
1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 12w50b 1.4.6 1.4.7 13w03a 13w07a 1.5 13w11a 13w16a 1.5.2 13w18c 13w19a 13w24a 13w24b 13w25a 13w25b 13w25c 13w26a 1.6 1.6.1 1.6.2 1.6.4 13w36b 13w37a 13w37b 13w38a 13w38b 13w38c 13w39b 13w41a 13w41b 13w42a 13w42b 13w43a 1.7.1 1.7.2 13w47a 13w47b 13w47c 13w48a 13w48b 13w49a 1.7.3 1.7.4 14w02c 14w03a 14w03b 14w04b 14w05b 14w06a 14w06b 14w07a 14w08a 1.7.5 14w10b 14w10c 14w11b 1.7.9 14w21b 14w28a 14w28b 14w34c 1.8 1.8.1-pre1 1.8.1-pre2 1.8.1-pre3 1.8.1 1.8.2-pre1 1.8.2-pre5 1.8.2-pre6 1.8.4 1.8.7 15w32c 15w35c 15w35e 15w36d 15w39c 15w41b 15w43c 15w45a 15w46a 15w47c 15w49a 1.8.9 15w50a 15w51b 16w02a 16w03a 16w04a 16w05b 16w06a 16w07a 16w07b 1.9-pre1 1.9-pre3 1.9-pre4 1.9 1.9.1-pre3 1.9.1 1.9.2 16w14a 1.9.4 16w20a 16w21b 1.10-pre1 1.10-pre2 1.10 1.10.1 1.10.2 16w32a 16w32b 16w33a 16w35a 16w36a 16w42a 1.11.2 17w18b 1.12-pre1 1.12-pre2 1.12-pre3 1.12-pre6 1.12 1.12.1-pre1 1.12.1 1.12.2-pre1 1.12.2-pre2 1.12.2 17w43a 17w43b 17w45b 17w46a 17w47a 17w47b 17w50a 18w01a 18w03b 18w05a 18w06a 18w07a 18w07b 18w08b 18w11a 18w14a 18w14b 18w16a 18w19b 18w20c 18w21a 18w21b 18w22c 1.13-pre1- 1.13-pre3
Created Issue:
Most text boxes reset when the window changes size or fullscreen mode is toggled.
Changing text in most text boxes then toggling fullscreen or resizing the window will revert the text. Exceptions are naming (not renaming) a world, entering a seed and writing on a sign.
What I excepted:
When (for example) renaming a 'Flower' to 'Dandelion' fullscreen or resizing the window, the text should not revert.
What happened:
The text is reverted back to 'Flower'.To reproduce:
1. Press 't' to chat.
2. Type something but don't send it.
3. Toggle fullscreen or resize the window.
4. The text disappears, or reverts to nothing when it should remain.Environment
Windows 7 64bit, Java 7 (1.7.0_09)
Linked Issues
is duplicated by1
Most text boxes reset when the window changes size or fullscreen mode is toggled.Most text boxes revert when the window changes size or fullscreen mode is toggled.
relates to
is duplicated by
is duplicated by
is duplicated by
is duplicated by
Changing text in most text boxes then toggling fullscreen or resizing the window will revert the text. Exceptions are naming (not renaming) a world, entering a seed and writing on a sign.
What I excepted:
When (for example) renaming a 'Flower' to 'Dandelion' fullscreen or resizing the window, the text should not revert.
What happened:
The text is reverted back to 'Flower'.To reproduce:
1. Press 't' tochat.
2. Type something but don't send it.
3. Toggle fullscreen or resize the window.
4. The text disappears, or reverts to nothing when it should remain.Changing text in most text boxes then toggling fullscreen or resizing the window will revert the text. Exceptions are naming (not renaming) a world, entering a seed and writing on a sign.
What I excepted:
When (for example) renaming a 'Flower' to 'Dandelion' fullscreen or resizing the window, the text should not revert.
What happened:
The text is reverted back to 'Flower'.To reproduce:
1. Press 't' to bring up the console.
2. Type something but don't send it.
3. Toggle fullscreen or resize the window.
4. The text disappears, or reverts to nothing when it should remain.
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
MC-26445
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
relates to
is duplicated by
is duplicated by
Most text boxes / chat revert when the window changes size or fullscreen mode is toggled.
is duplicated by
is duplicated by
is duplicated by
Most text boxes / chat / scroll bars revert when the window changes size or fullscreen mode is toggled.
is duplicated by
relates to
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
relates to
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
Changing text in most text boxes then toggling fullscreen or resizing the window will revert the text. Exceptions are naming (not renaming) a world, entering a seed and writing on a sign.
What I excepted:
When (for example) renaming a 'Flower' to 'Dandelion' fullscreen or resizing the window, the text should not revert.
What happened:
The text is reverted back to 'Flower'.To reproduce:
1. Press 't' to bring up the console.
2. Type something but don't send it.
3. Toggle fullscreen or resize the window.
4. The text disappears, or reverts to nothing when it should remain.
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 func_175273_b(Minecraft mcIn, int p_175273_2_, int p_175273_3_) 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.
Could you please link to my comment from the description
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
Windows 7 64bit, Java 7 (1.7.0_09)
Windows 7 64bit, Java 7 (1.7.0_09)
OS X 10.11.5, Java 8 (1.8.0_74)
is duplicated by
is duplicated by
Changing text in most text boxes then toggling fullscreen or resizing the window will revert the text. Exceptions are naming (not renaming) a world, entering a seed and writing on a sign.
What I excepted:
When (for example) renaming a 'Flower' to 'Dandelion' fullscreen or resizing the window, the text should not revert.
What happened:
The text is reverted back to 'Flower'.To reproduce:
1. Press 't' to bring up the console.
2. Type something but don't send it.
3. Toggle fullscreen or resize the window.
4. The text disappears, or reverts to nothing when it should remain.
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
func_175273_b(Minecraft mcIn, intp_175273_2_, int p_175273_3_) 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.Changing text in most text boxes then toggling fullscreen or resizing the window will revert the text. Exceptions are naming (not renaming) a world, entering a seed and writing on a sign.
What I excepted:
When (for example) renaming a 'Flower' to 'Dandelion' fullscreen or resizing the window, the text should not revert.
What happened:
The text is reverted back to 'Flower'.To reproduce:
1. Press 't' to bring up the console.
2. Type something but don't send it.
3. Toggle fullscreen or resize the window.
4. The text disappears, or reverts to nothing when it should remain.
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
is duplicated by
is duplicated by
is duplicated by
Changing text in most text boxes then toggling fullscreen or resizing the window will revert the text. Exceptions are naming (not renaming) a world, entering a seed and writing on a sign.
What I excepted:
When (for example) renaming a 'Flower' to 'Dandelion' fullscreen or resizing the window, the text should not revert.
What happened:
The text is reverted back to 'Flower'.To reproduce:
1. Press 't' to bring up the console.
2. Type something but don't send it.
3. Toggle fullscreen or resize the window.
4. The text disappears, or reverts to nothing when it should remain.
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.
The bug
Changing text in most text boxes then toggling fullscreen or resizing the window will revert the text. Exceptions are naming (not renaming) a world, entering a seed and writing on a sign.
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
is duplicated by
Windows 7 64bit, Java 7 (1.7.0_09)
OS X 10.11.5, Java 8 (1.8.0_74)
is duplicated by
is duplicated by
is duplicated by
is duplicated by
Ticket is yours now, [~ericz1].
is duplicated by
Most text boxes / chat / scroll bars revert when the window changes size or fullscreen mode is toggled.
Most text boxes / chat / scroll bars revert when the window changes sizeorfullscreen mode is toggledMost text boxes / chat / scroll bars revert when the window changes size, fullscreen mode is toggled, or fullscreened game is tabbed into
The bug
Changing text in most text boxes then toggling fullscreen or resizing the window will revert the text. Exceptions are naming (not renaming) a world, entering a seed and writing on a sign.
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.
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
relates to
Duplicate of MC-258 , please use the search function to see if your bug has already been submitted. Currently over 25% of tickets are being closed as duplicate.
Duplicate of MC-258 , please use the search function to see if your bug has already been submitted. Currently over 30% of tickets are being closed as duplicate.
Duplicate of MC-258 , please use the search function to see if your bug has already been submitted. Currently over 30% of tickets are being closed as duplicate.
Duplicate of MC-258 , please use the search function to see if your bug has already been submitted. Currently over 35% of tickets are being closed as duplicate.
Duplicate of MC-258, please use the search function to see if your bug has already been submitted. Currently over 45% of tickets are being closed as duplicate.
Duplicate of MC-258, please use the search function to see if your bug has already been submitted. Currently over 51% of tickets are being closed as duplicate.
Congratulations you created the 10 000th bug report! Unfortunantly it is Duplicate of MC-258, please use the search function to see if your bug has already been submitted. Currently over 52% of tickets are being closed as duplicate.
And what's the pointing of posting another dupe of MC-258 if you already know it's a dupe?
Duplicate of MC-258, please use the search function to see if your bug has already been submitted. Currently over 57% of tickets are being closed as duplicate.
Duplicate of MC-258, please use the search function to see if your bug has already been submitted. Currently over 58% of tickets are being resolved as duplicate.
Duplicate of MC-258, please use the search function to see if your bug has already been submitted. Currently over 56% of tickets are being resolved as duplicate.
Duplicate of MC-258, please use the search function to see if your bug has already been submitted. Currently over 57% of tickets are being resolved as duplicate.
Duplicate of MC-258, please use the search function to see if your bug has already been submitted. Currently over 57% of tickets are being resolved as duplicate.
20th Duplicate of MC-258 - If you have not, please use the search function in the future, to see if your bug has already been submitted. If you could not find the original report, please comment with the keywords you searched for.
Duplicate of MC-258 - If you have not, please use the search function in the future, to see if your bug has already been submitted. If you could not find the original report, please comment with the keywords you searched for.
Duplicate of MC-258
Dupe of MC-258
This is caused by MC-258: When resizing (or fullscreening) the window the objects on the screen are redrawn (and thus reset) to fit in the new size
Dupe of MC-258
Duplicate of MC-258 – If you have not, please use the search function in the future, to see if your bug has already been submitted.
Dupe of MC-258
Dupe of MC-258
Please do not mark unreleased versions (anything starting with "Future Version") as affected. You don't have access to them yet.
Thank you for your report.
However, your ticket has been resolved as a duplicate.
This issue has been linked to the original bugreport: MC-258. You can find or add further information on that report.
Please search before reporting any bugs, as it's likely that one exists already.
This relates to, but not duplicates MC-258 in my opinion
Because MC-258 is a general bug which affects text fields, while this seems to happen only for these buttons and not for all
Duplicate of MC-258
Ok, prepare for something... Could please a mod mark the versions for every bug I tell you here? That would be nice.
I have a world set up for fast bug testing. That means that going into each bug report and saying "Confirmed for 1.10.1" is way more work than actually testing it. So I want to confirm for 1.10.1 with this comment:
MC-4, MC-9, MC-14, MC-87, MC-112, MC-201, MC-212, MC-234, MC-258, MC-460, MC-577, MC-667, MC-679, MC-696, MC-697, MC-849, MC-868, MC-926, MC-957, MC-997, MC-1040, MC-1127, MC-1133, MC-1168, MC-1207, MC-1218, MC-1297, MC-1390, MC-1429, MC-1530, MC-1531, MC-1538, MC-1541, MC-1555, MC-1578, MC-1673, MC-1685, MC-1691, MC-1981 and MC-2023.
All of these are tested in 1.10.1. For some others I have additional information:
MC-711 not testable with my setup because of a crash that's new in 1.10.1.
MC-779: At least some appear outside, didn't test all. What's sure is that no general solution got introduced.
Confirmed MC-1511 for stone button, lever, torch, redstone dust, normal rail, end rod, tripwire hook, ladder and flower pot. Others are untested.
Confirmed MC-1874 for chest, brewing stand, enchanting table and flower pot. Others are untested. It's apparent that there isn't a general solution here either.
Dupe of MC-258
Thank you for your report!
However, this issue has been closed as a Duplicate of MC-258.
It has been linked to this report. If you have additional information, please add it to the duplicated report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Thank you for your report!
However, this issue has been resolved as a Duplicate of MC-258.
It has been linked to this report. If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Thank you for your report!
However, this issue is a Duplicate of MC-258.
It has been linked to this report. If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Cannot reproduce. Does MC-258 describe your issue?
Thank you for your report!
However, this issue has been closed as a Duplicate of MC-258.
This has been fixed in 1.13.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Can confirm. Maybe it is a side effect of the fix for text inputs in MC-258.
When resizing the Minecraft window or enabling/leaving fullscreen mode while in the statistics screen, the tab resets to "General".
This was previously part of MC-258, but when that was fixed, this issue was apparently not part of that fix.
To reproduce
- Open the statistics menu
- Click on "Items"
- Resize the Minecraft window
→
You're back in "General"
This does indeed happen as described. Not sure if it was present in previous versions, but it does exist in 1.4.2-PRE
It has always been present as far as I know
This also Happens with Text Boxes in the Main Menu, the "Preset" Textbox for superflat Worlds for example
Maybe related to grayed out buttons
Seems fixed in 1.4.7
It is partially fixed, I think. For instance, the seed text file doesn't reset when toggling, but the chat field does.
Still happens with the chat in 1.5
Also happens in the “Edit Server Info” screen (or at least when adding a new server).
Still happens in 13w26a.
still happens in 1.6.1. At least with the chat box.
yes, still happens in 1.6.2
Affects snapshot 13w36a.
still in 1.7.2
Affects snapshot 13w47c.
This is still an issue in Minecraft version 14w03b.
Still in 14w06b. Looks like its a pretty hard bug to be fixed.
Came across this issue in 14w07a today.
Still an issue in 14w10c
I think I found a different manifestation of this bug in the Command Block GUI. The difference was that I already saved a command inside (which would have remained if I didn't save my changes), and I pressed F11 and the old text was there.
I wasn't ADDING text, note, I was using the backspace key when I slipped and went into fullscreen. I'm also using 14w21b.
Confirmed in 1.8.
Also affects 1.8.1-pre1.
Still in 1.8.1-pre2 (just deleted a nether superflat code I was working on
).
Confirmed for 1.8.1.
Confirmed for 1.8.2-pre5.
Confirmed for 1.8.2-pre6
Confirmed for 1.8.4
Confirmed for 1.8.5, 1.8.6, and 1.8.7
Something similar to this also happens in the statistics menu, being scrolled down on the first page or being on another page and resizing puts you back to the first page again.
Can confirm for all 1.9 snapshots.
Affects 15w45a.
Affects 15w46a.
Confirmed in 15w47c for Command blocks, Chat, Anvil and Inventory search bar.
Affects 15w49a, tested with chat and Creative inventory.
Affects 15w50a.
Affects 15w51b.
Affects 16w02a.
Affects 16w03a.
Affects 16w04a.
Never seen, probably because I play mostly 1.8.9
Confirmed for
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 func_175273_b(Minecraft mcIn, int p_175273_2_, int p_175273_3_) 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.
Could you please link to this comment in the description
Affects 16w06a.
Affects 16w07a.
Affects 16w07b.
Confirmed for 1.9-pre1
Affects 1.9-pre3.
Affects 1.9-pre4.
Affects 1.9.1-pre3.
Affects 1.9.2.
Affects 16w20a and OS X 10.11.5.
Confirmed for Pre 1.10
Confirmed for Pre2 1.10
Confirmed for 1.10
Confirmed for 1.10.1.
Confirmed 1.10.2
1.10.2 is already listed.
Can confirm for all 1.11 snapshots
Confirmed for 1.11.2
i hate this bug, maybe i'm writing a long command in a small window because im seeing the wiki to see how do i write te command, and when i want to fullscreen the game to continue writing the entire commands dissapear
Confirmed for all 1.12 snapshots and 1.12-pre1, 1.12-pre2 and 1.12-pre3
As
MC-121470was marked as duplicating this, I'd like to add the following information:Is this still caused by what's in the code analysis?
It will also, for example, enable the "create world" button when it's supposed to be disabled (if there's no provided world name).
Confirmed for 17w50a.
confirmed in 18w03b for command block gui.
Confirmed for 18w05a
Confirmed for 18w07b
Confirmed for 18w20c
This is fixed for all text fields, but not scroll bars (pre2)
(let me know if i missed any)
@rherlitz
The text in the "Select a Preset" screen (Create New World > More World Options... > World Type: Superflat > Customize > Presets) reverts when the window changes size in pre2. It may be a separate issue though because it's perfectly fine for alt-tab out of and back into the window.
Also the recipe book search field goes blank on resize (but not alt-tab) for all three variants (inventory, crafting table, and furnace).
Tedstar (Curtis Anderson) Thanks. I've fixed these too and they should work in the next update!
Awesome! Oh and I just though to check the structure block; the name field for all four versions of the GUI is also affected. Not sure about the controls, don't really know how the structure block works. ¯_(ツ)_/¯
Edit: Ok I was figuring out how the structure block works. Changing window size resets all modified text fields. It also appears to disable the text fields. Buttons keep their settings even when changed.
Thank you! I've fixed those as well now
That still appears to be the case, I've created a new bug report about that here:
MC-213104