You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever a LineEdit submits its entered text (primarily via the user pressing ENTER), it partially loses focus, in Godot 4.4+. Specifically, you can no longer keep typing.
See the MRP.
In 4.3, you can just keep typing after pressing ENTER while on the LineEdit. In 4.4+, you need an additional ENTER key stroke to be allowed to type on the LineEdit again. Even though it still has focus.
Steps to reproduce
Create empty project.
Add a LineEdit with code attached to the text_submitted signal.
Run the project and keep typing. On 4.3, you can just type text, ENTER, type more text, ENTER, etc. On 4.4, you need to do type text, ENTER, ENTER, type more text, ENTER, ENTER.
#100240 added the keep_editing_on_text_submit property to the editor, which fixes the issue when enabled. The PR was only merged a week ago, so it's not available in any of the official builds yet.
#100240 added the keep_editing_on_text_submit property to the editor, which fixes the issue when enabled. The PR was only merged a week ago, so it's not available in any of the official builds yet.
Thanks for pointing that one out to me. Good to know a solution is in the pipeline. Again, thanks.
Tested versions
System information
Godot v4.4.dev7.mono - Manjaro Linux #1 SMP PREEMPT_DYNAMIC Mon, 09 Dec 2024 11:58:37 +0000 on X11 - X11 display driver, Multi-window, 1 monitor - OpenGL 3 (Compatibility) - NVIDIA GeForce GTX 1050 Ti (nvidia; 550.135) - AMD Ryzen 7 2700 Eight-Core Processor (16 threads)
Issue description
Whenever a LineEdit submits its entered text (primarily via the user pressing ENTER), it partially loses focus, in Godot 4.4+. Specifically, you can no longer keep typing.
See the MRP.
In 4.3, you can just keep typing after pressing ENTER while on the LineEdit. In 4.4+, you need an additional ENTER key stroke to be allowed to type on the LineEdit again. Even though it still has focus.
Steps to reproduce
Minimal reproduction project (MRP)
LineEditFocus.zip
Pardon the C#. I've never used GDScript.
The text was updated successfully, but these errors were encountered: