[MC-1237] Anvil GUI truncating long item names and showing garbage at the end Created: 29/Oct/12  Updated: 17/Jan/19  Resolved: 17/Jan/19

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2, Minecraft 1.4.5, Minecraft 1.4.7, Snapshot 13w03a, Snapshot 13w04a, Snapshot 13w07a, Snapshot 13w09a, Snapshot 13w09c, Snapshot 13w10a, Snapshot 13w10b, Minecraft 1.5, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w17a, Snapshot 13w18c, Snapshot 13w19a, Snapshot 13w21b, Snapshot 13w22a, Snapshot 13w23a, Snapshot 13w23b, Snapshot 13w26a, Minecraft 1.6, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 13w36b, Minecraft 13w37a, Minecraft 13w38a, Minecraft 13w38b, Minecraft 13w38c, Minecraft 13w39b, Minecraft 13w41a, Minecraft 1.7.2, Minecraft 1.7.3, Minecraft 1.7.4, Minecraft 14w02c, Minecraft 14w03b, Minecraft 14w04a, Minecraft 14w04b, Minecraft 1.7.5, Minecraft 14w10c, Minecraft 14w26c, Minecraft 1.7.10, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.12.2, Minecraft 18w20c, Minecraft 1.13-pre3, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13.1, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a
Fix Version/s: Minecraft 1.8.1-pre4, Minecraft 19w03a

Type: Bug
Reporter: Kumasasa Assignee: [Mojang] Nathan Adams
Resolution: Fixed Votes: 12
Labels: GUI, anvil, item-renaming
Environment:

Java 7U40-64, Win-7 64


Attachments: PNG File 2014-04-06_12.07.20.png     PNG File 2014-04-06_12.07.30.png     PNG File 2018-05-20_23.58.16.png    
Issue Links:
Duplicate
is duplicated by MC-16881 putting items with long names in an a... Resolved
Relates
relates to MC-30217 All text fields can cut off the last ... Open
CHK:
Confirmation Status: Confirmed

 Description   
  • When putting an item with a quite long name in the anvil ("Splash potion of Water Breathing") the last letter is replaced by a light blue box.


 Comments   
Comment by Oval [ 17/Jan/19 ]

Confirmed fixed; probably fixed as MC-141036 got fixed.

Comment by [Helper] Jack McKalling [ 16/Jan/19 ]

Cannot reproduce in 19w03a, seems to be fixed!

Comment by [Helper] Jack McKalling [ 09/Jan/19 ]

Confirmed for 19w02a

Comment by [Helper] Jack McKalling [ 12/Dec/18 ]

Confirmed for 18w50a

Comment by [Helper] Jack McKalling [ 05/Dec/18 ]

Confirmed for 18w49a

Comment by [Helper] Jack McKalling [ 30/Nov/18 ]

Confirmed for 18w48b

Comment by [Helper] Jack McKalling [ 29/Nov/18 ]

Confirmed for 18w48a

Comment by Connor Steppie [ 28/Nov/18 ]

Affects 18w47b

Comment by Kraif [ 25/Aug/18 ]

Confirmed for 1.13.1.

Comment by Connor Steppie [ 10/Jul/18 ]

Affects 1.13-pre7

Comment by Connor Steppie [ 06/Jul/18 ]

Affects 1.13-pre6

Comment by Matthew [ 23/Jun/18 ]

Can confirm in 1.13-pre3.

See "Lingering Potion of the Turtle Master"

Comment by Kumasasa [ 20/May/18 ]

This is still happening in 18w20c

Comment by [Mojang] Nathan Adams [ 28/Oct/14 ]

The limit of the textbox now matches the hard limit of item names, so things won't unexpectedly be truncated. The "garbage on the end" is just a textbox thing, when there's more than can fit on the screen immediately.

Comment by Kumasasa [ 06/Apr/14 ]

This seems to be dependent on the width of the proportional characters, because the two 32 chars long strings behave diffrerent:
Splash Potion of Water Breathing is cut off
Splash Potion of Fire Resistance is not cut off

Comment by Kyle Cuthbert [ 23/Jan/14 ]

This is still a concern in 14w03b, including the crossed out bit

Comment by Kumasasa [ 05/Nov/13 ]

Can reproduce in 1.7.2 with "Splash Potion of Water Breathing", see another screenshot, maybe this is dependant on the number of characters in the original string.

Comment by Kumasasa [ 05/Nov/13 ]

Maybe this is caused by the German Ümläüt ?

Comment by Kumasasa [ 05/Nov/13 ]

It does affect 1.7.2, see screenshot.

Comment by Flexo013 [ 05/Nov/13 ]

No blue box appear for long names.

EDIT: It does; the name of the item I used was still too short.

Comment by Flexo013 [ 05/Nov/13 ]

The issue does not exist in Minecraft 1.7.2.

Comment by [Mod] Ezekiel (ezfe) [ 29/Jun/13 ]

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

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