godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.1k stars 21.18k forks source link

When the `ui_text_completion_accept` shortcut is the same as `ui_indent`, `ui_indent` takes precedence #99087

Open sockeye-d opened 1 day ago

sockeye-d commented 1 day ago

Tested versions

System information

Godot v4.4.dev4 - Windows 10.0.19045 - Multi-window, 2 monitors - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 3080 - 12th Gen Intel(R) Core(TM) i5-12400F (12 threads)

Issue description

I prefer the behavior of ui_text_completion_accept compared to ui_text_completion_replace, so I unbound replace and bound accept to the tab key. This worked fine on all previous versions, but in 4.4dev4, it started inserting tab characters instead of accepting the completion request.

Steps to reproduce

Change the ui_text_completion_accept shortcut to be the same as ui_indent and unbind ui_text_completion_replace, then try to accept a completion request

Minimal reproduction project (MRP)

N/A

PhairZ commented 1 day ago

I tried reproducing this issue on [0f5f3bc95] and ui_text_completion_accept preceded ui_text_indent