Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-261783

Command block autocomplete window does not match cursor position when text field is scrolled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.19.4
    • None
    • Arch Linux

      Java version (installed with Arch package jdk17-openjdk):
      openjdk version "17.0.6" 2023-01-17
      OpenJDK Runtime Environment (build 17.0.6+10)
      OpenJDK 64-Bit Server VM (build 17.0.6+10, mixed mode)
    • Unconfirmed
    • (Unassigned)

      Steps to Reproduce

      1. Open the GUI of a command block.
      2. Enter execute as @s, then copy-paste as @s repeatedly enough to make the text field start scrolling horizontally. (Any other long command should work, but this is the one I used to test.)
      3. Move the cursor back to an instance of as @s roughly in the middle of the text field.

      Expected Behavior

      The autocomplete window should show at the cursor position.

      Actual Behavior

      The autocomplete window appears all the way to the right of the text field (see attached screenshot).

            Unassigned Unassigned
            arm32 ARM32
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: