| Type: | Bug | ||
| Reporter: | [Mod] Sonicwave | Assignee: | Rikard Herlitz |
| Resolution: | Fixed | Votes: | 85 |
| Labels: | box, resize, revert, server, text, window | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CHK: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Confirmation Status: | Confirmed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
The bugTriggers
Results
How to reproduce
Code analysisfrom 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. |
| Comments |
| Comment by [Mod] violine1101 [ 27/Jan/21 ] |
That still appears to be the case, I've created a new bug report about that here: |
| Comment by Rikard Herlitz [ 18/Jun/18 ] |
|
Thank you! I've fixed those as well now |
| Comment by Tedstar (Curtis Anderson) [ 17/Jun/18 ] |
|
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. |
| Comment by Rikard Herlitz [ 17/Jun/18 ] |
|
Tedstar Thanks. I've fixed these too and they should work in the next update! |
| Comment by Tedstar (Curtis Anderson) [ 15/Jun/18 ] |
|
@rherlitz Also the recipe book search field goes blank on resize (but not alt-tab) for all three variants (inventory, crafting table, and furnace). |
| Comment by Rikard Herlitz [ 15/Jun/18 ] |
|
This is fixed for all text fields, but not scroll bars (pre2) (let me know if i missed any) |
| Comment by bugmancx [ 20/May/18 ] |
|
Confirmed for 18w20c |
| Comment by _Spitz [ 15/Feb/18 ] |
|
Confirmed for 18w07b |
| Comment by [Mod] Sonicwave [ 07/Feb/18 ] |
|
Confirmed for 18w05a |
| Comment by Aaron Rhodes [ 29/Jan/18 ] |
|
confirmed in 18w03b for command block gui. |
| Comment by CyanEmber [ 12/Dec/17 ] |
|
Confirmed for 17w50a. |
| Comment by [Mod] tryashtar [ 22/Nov/17 ] |
|
It will also, for example, enable the "create world" button when it's supposed to be disabled (if there's no provided world name). |
| Comment by Fabian Röling [ 04/Nov/17 ] |
|
Is this still caused by what's in the code analysis? |
| Comment by [Mod] tryashtar [ 04/Nov/17 ] |
|
As
|
| Comment by Joeri [ 18/May/17 ] |
|
Confirmed for all 1.12 snapshots and 1.12-pre1, 1.12-pre2 and 1.12-pre3 |
| Comment by nicolas abrego [ 19/Apr/17 ] |
|
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 |
| Comment by [Helper] Misode [ 22/Dec/16 ] |
|
Confirmed for 1.11.2 |
| Comment by Klorkson Noksu [ 20/Oct/16 ] |
|
Can confirm for all 1.11 snapshots |
| Comment by [Mod] Neko [ 21/Aug/16 ] |
|
1.10.2 is already listed. |
| Comment by user-2a4c8 (Inactive) [ 21/Aug/16 ] |
|
Confirmed 1.10.2 |
| Comment by Fabian Röling [ 22/Jun/16 ] |
|
Confirmed for 1.10.1. |
| Comment by IStripForPotatoe [ 08/Jun/16 ] |
|
Confirmed for 1.10 |
| Comment by IStripForPotatoe [ 07/Jun/16 ] |
|
Confirmed for Pre2 1.10 |
| Comment by IStripForPotatoe [ 02/Jun/16 ] |
|
Confirmed for Pre 1.10 |
| Comment by Fenhl (Max Dominik Weber) [ 24/May/16 ] |
|
Affects 16w20a and OS X 10.11.5. |
| Comment by Fenhl (Max Dominik Weber) [ 04/Apr/16 ] |
|
Affects 1.9.2. |
| Comment by Fenhl (Max Dominik Weber) [ 17/Mar/16 ] |
|
Affects 1.9.1-pre3. |
| Comment by Fenhl (Max Dominik Weber) [ 27/Feb/16 ] |
|
Affects 1.9-pre4. |
| Comment by Fenhl (Max Dominik Weber) [ 25/Feb/16 ] |
|
Affects 1.9-pre3. |
| Comment by Immaterialise [ 17/Feb/16 ] |
|
Confirmed for 1.9-pre1 |
| Comment by Fenhl (Max Dominik Weber) [ 16/Feb/16 ] |
|
Affects 16w07b. |
| Comment by Fenhl (Max Dominik Weber) [ 15/Feb/16 ] |
|
Affects 16w07a. |
| Comment by Fenhl (Max Dominik Weber) [ 10/Feb/16 ] |
|
Affects 16w06a. |
| Comment by Marcono1234 [ 06/Feb/16 ] |
|
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 |
| Comment by Koi YTP [ 06/Feb/16 ] |
|
Never seen, probably because I play mostly 1.8.9 |
| Comment by Fenhl (Max Dominik Weber) [ 29/Jan/16 ] |
|
Affects 16w04a. |
| Comment by Fenhl (Max Dominik Weber) [ 28/Jan/16 ] |
|
Affects 16w03a. |
| Comment by Fenhl (Max Dominik Weber) [ 14/Jan/16 ] |
|
Affects 16w02a. |
| Comment by Fenhl (Max Dominik Weber) [ 17/Dec/15 ] |
|
Affects 15w51b. |
| Comment by Fenhl (Max Dominik Weber) [ 16/Dec/15 ] |
|
Affects 15w50a. |
| Comment by Fenhl (Max Dominik Weber) [ 03/Dec/15 ] |
|
Affects 15w49a, tested with chat and Creative inventory. |
| Comment by Stefan van den Wijngaert [ 21/Nov/15 ] |
|
Confirmed in 15w47c for Command blocks, Chat, Anvil and Inventory search bar. |
| Comment by Fenhl (Max Dominik Weber) [ 12/Nov/15 ] |
|
Affects 15w46a. |
| Comment by Fenhl (Max Dominik Weber) [ 09/Nov/15 ] |
|
Affects 15w45a. |
| Comment by PancakeMan77 [ 28/Aug/15 ] |
|
Can confirm for all 1.9 snapshots. |
| Comment by Tobias Berner [ 29/Jun/15 ] |
|
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. |
| Comment by ohnx [ 09/Jun/15 ] |
|
Confirmed for 1.8.5, 1.8.6, and 1.8.7 |
| Comment by TGS [ 03/May/15 ] |
|
Confirmed for 1.8.4 |
| Comment by Amr Satrio [ 01/Feb/15 ] |
|
Confirmed for 1.8.2-pre6 |
| Comment by KingSupernova [ 29/Jan/15 ] |
|
Confirmed for 1.8.2-pre5. |
| Comment by [Mod] Sonicwave [ 28/Nov/14 ] |
|
Confirmed for 1.8.1. |
| Comment by [Mod] Sonicwave [ 21/Oct/14 ] |
|
Still in 1.8.1-pre2 (just deleted a nether superflat code I was working on |
| Comment by [Mod] Sonicwave [ 16/Oct/14 ] |
|
Also affects 1.8.1-pre1. |
| Comment by [Mod] Sonicwave [ 09/Oct/14 ] |
|
Confirmed in 1.8. |
| Comment by ggxl [ 09/Jun/14 ] |
|
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. |
| Comment by Marcus McDermand [ 09/Mar/14 ] |
|
Still an issue in 14w10c |
| Comment by Omnimetatron [ 17/Feb/14 ] |
|
Came across this issue in 14w07a today. |
| Comment by Ladislav Bielko [ 09/Feb/14 ] |
|
Still in 14w06b. Looks like its a pretty hard bug to be fixed. |
| Comment by Deleted account [ 19/Jan/14 ] |
|
This is still an issue in Minecraft version 14w03b. |
| Comment by Fenhl (Max Dominik Weber) [ 22/Nov/13 ] |
|
Affects snapshot 13w47c. |
| Comment by GoodKingFilms [ 26/Oct/13 ] |
|
still in 1.7.2 |
| Comment by Fenhl (Max Dominik Weber) [ 06/Sep/13 ] |
|
Affects snapshot 13w36a. |
| Comment by Kevin Gut [ 10/Jul/13 ] |
|
yes, still happens in 1.6.2 |
| Comment by Kevin Gut [ 01/Jul/13 ] |
|
still happens in 1.6.1. At least with the chat box. |
| Comment by Fenhl (Max Dominik Weber) [ 25/Jun/13 ] |
|
Still happens in 13w26a. |
| Comment by Fenhl (Max Dominik Weber) [ 12/Apr/13 ] |
|
Also happens in the “Edit Server Info” screen (or at least when adding a new server). |
| Comment by Kevin Gut [ 17/Mar/13 ] |
|
Still happens with the chat in 1.5 |
| Comment by [Mod] Ezekiel (ezfe) [ 12/Jan/13 ] |
|
It is partially fixed, I think. For instance, the seed text file doesn't reset when toggling, but the chat field does. |
| Comment by Kevin Gut [ 11/Jan/13 ] |
|
Seems fixed in 1.4.7 |
| Comment by Kumasasa [ 16/Nov/12 ] |
|
Maybe related to grayed out buttons |
| Comment by Kevin Gut [ 25/Oct/12 ] |
|
This also Happens with Text Boxes in the Main Menu, the "Preset" Textbox for superflat Worlds for example |
| Comment by [Mod] Ezekiel (ezfe) [ 25/Oct/12 ] |
|
It has always been present as far as I know |
| Comment by Gravity [ 24/Oct/12 ] |
|
This does indeed happen as described. Not sure if it was present in previous versions, but it does exist in 1.4.2-PRE |