-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression: LineEdit loses focus after hitting enter. #100230
Comments
This feature was added to prevent the focus loss of the |
Yeah this is not really a regression, but a behavior change. The LineEdit is still usable. |
To avoid setting it to true for all the but I think it should be true by default for both since it only cause regression for console like input fields, check this #97088. |
Not quite sure I understand -- the issue happens even if there's no callbacks for the lineedit. You can just throw one in a scene and press enter and it loses focus. Also, is the losing of focus on enter necessary to stop losing focus on escape? Guess I don't fully understand the intent here. |
Tested versions
System information
Godot v4.4.dev6 - Windows 10.0.19045 - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3080 (NVIDIA; 32.0.15.6603) - AMD Ryzen 7 3700X 8-Core Processor (16 threads)
Issue description
If you have a line edit and type something then press enter, you can no longer type in the edit box until you re-focus it by clicking or pressing enter again.
Steps to reproduce
(Very obvious with the dev console addon. You can only type one command at a type).
Minimal reproduction project (MRP)
test_console.zip
The text was updated successfully, but these errors were encountered: