mojira.dev
MC-117191

Tab-completion list doesn't change when moving cursor with mouse

The bug

When you get a list of possible entries to auto-complete (e.g. possible entity/block/item id) and you move cursor into "unintended" position (e.g. put it between coordinates) and then press Tab, you'll get one of the entries of the list inserted, even though it is not supposed to be there

Steps to reproduce

  1. Tab-complete (or write) /setblock, so it has all coordinates filled

  2. (not necessary) Write incomplete id which has multiple ways to be completed (e.g. purpur can be completed with _block, _pillar and so on)

  3. Press tab a few times to complete the block id, so that suggestions for other ids are displayed in chat

  4. Move the cursor with mouse to the coordinates in the /setblock command and press tab again

→ Minecraft still auto-completes the block id instead of the coordinate

Attachments

Comments 4

We only accept bugs of non-modified versions of the game, if you can reproduce without any mods installed, leave a reply and update the report accordingly.

Also happens in vanilla Minecraft 1.11.2

Can confirm for (vanilla) Minecraft 1.12.1

Appears to be fixed in 17w46a. I can change the cursor position with the mouse still, but it inserts into the correct location (completely overwriting the previous text - as it should). (I tested with /playsound, since that command has functioning tab completion for sound events).

NOPEname

(Unassigned)

Confirmed

argument, command, cursor, tab-completion

Minecraft 1.11.2, Minecraft 17w18b, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b

Minecraft 17w46a

Retrieved