| Summary: | SDL_StartTextInput() doesn't show up keyboard when it's called immediately after SDL_StopTextInput(). | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Hak Matsuda <hakuro> |
| Component: | events | Assignee: | Sylvain <sylvain.becker> |
| Status: | RESOLVED INVALID | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | icculus |
| Version: | 2.0.3 | ||
| Hardware: | All | ||
| OS: | Android (All) | ||
|
Description
Hak Matsuda
2015-11-21 01:01:29 UTC
I don't have an Android environment to test this at the moment, but it's possible that Android refuses to reshow the keyboard before the hiding animation completes.
It's strange that SDL_IsTextInputActive() returns SDL_TRUE, though, since it checks for something that SDL_StopTextInput() should have disabled:
https://hg.libsdl.org/SDL/file/bbe9ef8c2ecb/src/video/SDL_video.c#l3416
Maybe this has changed recently in SDL, I don't know. Was this happening with SDL 2.0.3, or a newer version from revision control?
--ryan.
I've tried and couldn't reproduce it. Maybe it has been fixed in the meantime. (Marked as invalid) Please re-open if you still think this occurs! |