godotengine / godotengine/godot
Mobile Virtual Keyboard won't trigger `text_entered` signal.
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
3.x
### System information
mobile web
### Issue description
When entering text and pressing the "enter" key on the virttual keyboard, it stays open, and wont trigger text_entered() signal.
### Steps to reproduce
connect the text_entered() signal to a OS.alert("OK") and try to trigger it by writing text and pressing "enter" on web mobile.
### Minimal reproduction project (MRP)
```gdscript
func _on_LineEdit_text_entered(new_text):
OS.alert("OK")
```
_Production edit: formatted code_
Contributor guide
Research direction
Reproduce the issue on mobile web using the provided LineEdit text_entered() handler and the minimal GDScript example. Verify whether pressing Enter on the virtual keyboard leaves the keyboard open and fails to emit the signal; done means the signal fires and the reported behavior is corrected.
Written by the indexing model from the issue text.
Assessment
- Domain
- game-dev, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100