Skip to content
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

SpinBox update_on_text_changed = true regression: Can't input decimals. #100620

Open
dknoma opened this issue Dec 19, 2024 · 0 comments
Open

SpinBox update_on_text_changed = true regression: Can't input decimals. #100620

dknoma opened this issue Dec 19, 2024 · 0 comments

Comments

@dknoma
Copy link

dknoma commented Dec 19, 2024

Tested versions

  • Reproducible in: v4.3.stable, v4.4.dev6 [1f47e4c]
  • Not reproducible in: v4.2.stable

System information

Godot v4.3.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1080 (NVIDIA; 32.0.15.6603) - Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (8 Threads)

Issue description

Setting Update on Text Changed to true prevents decimals from being input. It seems to be similar to what happened with #81989. You can copy and paste decimal numbers into the SpinBox just fine, but trying to type a decimal will do nothing. Changing step to a decimal value < 1 still doesn't allow a decimal to be typed. This is true for both GDscript and C# in 4.3 & 4.4-dev6, but not in 4.2 (as #81989 fixed it in that version)

Steps to reproduce

  1. Create a new scene
  2. Add a SpinBox node
  3. Set Update on Text Changed to true
  4. Run the current scene
  5. Type decimal (.) into the SpinBox

Image

Minimal reproduction project (MRP)

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants