[MC-3900] Text field doesn't scroll back Created: 27/Nov/12  Updated: 04/Feb/24

Status: Open
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.5, Minecraft 1.4.7, Snapshot 13w10a, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1, Minecraft 1.7.10, Minecraft 14w30c, Minecraft 14w31a, Minecraft 14w33c, Minecraft 14w34a, Minecraft 14w34b, Minecraft 14w34c, Minecraft 14w34d, Minecraft 1.8-pre1, Minecraft 15w37a, Minecraft 1.10.2, Minecraft 1.12 Pre-Release 6, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w02a, Minecraft 18w22c, Minecraft 1.13, Minecraft 18w31a, 1.14.4, 1.15 Pre-release 5, 1.15 Pre-release 7, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w13b, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w19a, 20w20b, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 4, 1.16 Pre-release 5, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 21w19a, 21w20a, 1.17 Release Candidate 2, 1.17, 1.17.1, 1.20.4, 24w05b
Fix Version/s: None

Type: Bug
Reporter: Dogest Potato Assignee: Unassigned
Resolution: Unresolved Votes: 22
Labels: chat, textbox

Issue Links:
Duplicate
is duplicated by MC-69536 Chat GUI doesn't align previous text ... Resolved
is duplicated by MC-91822 Exchanging items in anvil doesn't upd... Resolved
Relates
relates to MC-124240 Tab suggestions do not align if comma... Open
relates to MC-124247 Tab suggestions clamped to the right ... Open
CHK:
Confirmation Status: Confirmed
Category:
UI
Mojang Priority: Low
Area: Platform

 Description   

The bug

When the content of a text box gets shortened, the text doesn't get scrolled back, resulting in a not completely visible text, even if the whole text would fit into the text box.

How to reproduce

  1. Write something long into a text box (e.g. chat) so that it goes over the standard width
  2. Delete parts at the end until everything would fit into the text field

Also works with going to the beginning, marking everything to the end and pasting something shorter into the text box.
It happens automatically when first choosing "Desert", then "Redstone Ready" in the superflat menu.



 Comments   
Comment by bob [ 26/Nov/16 ]

Oh sorry yes the search thing was glitching out. MC-105114

Comment by Marcono1234 [ 26/Nov/16 ]

FM22 it looks like you commented on the wrong report

Comment by bob [ 26/Nov/16 ]

The NBT tags don't do anything in 1.11

Comment by Fabian Röling [ 16/Jul/16 ]

Yes.

Comment by Marcono1234 [ 16/Jul/16 ]

Probably duplicated by MC-91822

Comment by [Mod] redstonehelper [ 07/Jul/16 ]

MC-69536.

Comment by Fabian Röling [ 02/Jul/16 ]

Where? As I said, it's hard to search. I think the two should be merged and extended to general text boxes, depending on which one is older, it stays, the other gets marked as duplicate.

Comment by [Mod] redstonehelper [ 02/Jul/16 ]

There's a ticket for this behavior affecting the chat input field.

Comment by Fabian Röling [ 01/Jul/16 ]

Ah, I tested it in a window that was only one half of the screen before. But yes, I got the buggy behaviour now, too.
It also happens with command blocks:

  • Copy a text.
  • Put a longer text in the command block.
  • Go to first position, mark to end (everything marked, cursor at end).
  • Ctrl+V

Result: Only the end is visible.
This is not specific to superflat, this is a behaviour of Minecraft text boxes in general. Should I change the report accordingly? I wasn't able to find something for that, but it's hard to search.

Comment by user-f2760 (Inactive) [ 01/Jul/16 ]

It should move the text over again, to show as much as possible, no need to change the size of the box.

Comment by Fabian Röling [ 01/Jul/16 ]

What? That it only shows the end of the code? What should happen instead? Should the text box be made wider, levitating left and right of the screen? That's not possible.

Comment by user-f2760 (Inactive) [ 01/Jul/16 ]

What you described is exactly the issue here.

Comment by Fabian Röling [ 01/Jul/16 ]

In 1.10.2 I see "k,3*minecraft:stone,52*minecraft:sandstone;2;" which is the end of "3;minecraft:bedrock,3*minecraft:stone,52*minecraft:sandstone;2;", the correct preset code. How it is described in the description it is definitely not the case anymore since 13w37a when ID names for blocks and items were introduced. Except the presets used the numeric IDs longer? Or is the issue something else?
Edit: Superflat presets used ID names from 14w08a on. Since this bug is confirmed for 15w37a, the issue has to be something else.

Comment by Marcono1234 [ 11/Sep/15 ]

Confirmed for

  • 15w37a
Comment by Dogest Potato [ 27/Jul/14 ]

Thank you for finally seeing this issue. It has been unresolved for almost 2 whole years.

Comment by Marcono1234 [ 27/Jul/14 ]

Confirmed for

  • 14w30c
  • 14w31a
  • Minecraft 1.8-pre 1
    The text would fit in the box but it is still "cut" off
Comment by Sid Ben [ 28/Nov/12 ]

Yeah, I work with web development, I think i mixed the two.

Comment by Aden McKinley [ 27/Nov/12 ]

UI bug? - do you mean GUI?

Comment by [Mod] CubeTheThird [ 27/Nov/12 ]

Ah now I see. This issue only occurs when the minecraft window is not scaled in any way.

Comment by Sid Ben [ 27/Nov/12 ]

I got this bug too. But is not really a bug - see below

If you make a new superflat world:

1) Select REDSTONE READY
The preset will be 2;7,3x1,52x24;2 - correct

2) Select DESERT
The preset will be 2;7,3x1,52x24,8x12;2;stronghold,biome_1,village,decoration,dungeon,mineshaft - correct

3) Select again REDSTONE READY
The preset will be 4;2 - wrong...

  • BUT - The preset is not really 4;2, since the DESERT preset is large, the textbox only displays the last characters. If you select the textbox and press HOME or LEFT, you'll see that the preset is indeed 2;7,3x1,52x24;2

The game could place the cursor on the start of the textbox to avoid this confusion, I would call this a UI bug, not a game bug.

Comment by [Mod] CubeTheThird [ 27/Nov/12 ]

I fail to see the issue here. Can you explain more explicitly what the problem is?

Generated at Sun Jan 12 12:02:46 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.