mojira.dev
MC-124247

Tab suggestions clamped to the right do not align when argument being tab-completed moves to the left while command extends to the left of the visible chat entry line

A bit hard to describe.

To reproduce:

  1. Run

    /teleport @e[scores={test=1,tst=1,teeeeeeest=1,est=1,test=1,test=1,test=1,test=1,test=1,test=1,test=1,test=1,test=1,test=1},limit=1] red

    with the first three characters of your player name

  2. Open chat

  3. Hit up arrow

  4. Move cursor to the left and shorten the selector

  5. Observe how the suggestion box moves

See attached screenshots.

Note that the position won't fix itself if you entirely delete the last argument, re-complete the previous argument and start the last argument again.

Linked issues

Attachments

Comments 10

This doesn't seem to be an issue in 20w18a because now the suggestion box always moves with your cursor.

Can confirm that this is still an issue in 20w49a. I've attached a screenshot. To reproduce this, you'll need a longer command so feel free to use the one that I used.

/teleport @e[scores={test=1,tst=1,teeeeeeest=1,est=1,test=1,test=1,test=1,test=1,test=1,test=1,test=1,test=1,test=1,test=1},limit=1] red

Note: Remember to replace the word "red" with the first three letters of your name.

Can confirm in 21w03a.

Can confirm in 21w05b.

Can confirm in 21w06a.

Can confirm in 21w07a.

Can confirm in 21w15a.

Can confirm in 1.19.

Affects 1.21.3. Also would like to request ownership of this report to maintain it

[Mod] redstonehelper

sof

(Unassigned)

Confirmed

(Unassigned)

Minecraft 18w02a, Minecraft 18w06a, 1.16.4, 20w49a, 21w03a, ..., 21w07a, 21w15a, 1.19, 1.21.3, 1.21.4

Retrieved