Skip to content

Autocompletion desyncs on word erasure #107327

Open
@Wilker-uwu

Description

@Wilker-uwu

Tested versions

  • Reproducible in: v4.4.1.stable.official [49a5bc7]

i haven't tested in dev builds

System information

Godot v4.4.1.stable - Fedora Linux 42 (KDE Plasma Desktop Edition) on Wayland - X11 display driver, Multi-window, 2 monitors - OpenGL 3 (Compatibility) - AMD Radeon Vega 8 Graphics (radeonsi, raven, ACO, DRM 3.61, 6.14.9-300.fc42.x86_64) - AMD Ryzen 3 2200G with Radeon Vega Graphics (4 threads)

Issue description

upon deleting the words covered by the autocompletion suggestions, accepting a suggestion will write the number of characters typed as the starting characters of the suggestion, to the right of the cursor, and the remaining characters of the suggestion on the left of the cursor, regardless of which characters were used in the fuzzy find.

Attempting to write "orthonormalize()" by typing "ohno", then erasing the word at once and accepting the autocompletion.

Gravar.a.tela_20250609_112003.webm

Another video demonstration of the Issue. See steps to reproduce.

Gravar.a.tela_20250609_110455.webm

Another video demonstration of the Issue. See steps to reproduce.

Gravar.a.tela_20250609_110607.webm

Another video demonstration of the Issue. See steps to reproduce.

Gravar.a.tela_20250609_110859.webm

Steps to reproduce

Given any scope:

  1. write your search, by partially writing it
  2. delete the word at once
  • by holding CTRL+Backspace, deleting the characters on the left at once
  • by holding CTRL+Left, browsing to the start of the word and then deleting the characters on the right with CTRL+Delete will also reproduce the issue.
  • partially browsing to the middle of the word and deleting the characters on the right with CTRL+Delete before accepting will behave as usual
  • simply browsing to the start of the word using the navigation arrows will not reproduce, as the auto-completion box will disappear.
  1. accept any completion suggestion

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    For team assessment

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions