Mobile: tapping the focused edit line re-shows the keyboard

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-10-13 11:53:10 +09:00
co-authored by Claude Opus 5.5
parent 445dd06048
commit e0b97c2099
2 changed files with 25 additions and 1 deletions
+11
View File
@@ -1636,3 +1636,14 @@ Outstanding:
zone still reach the app. Right and bottom still use the combined insets.
- Verified on the device: the portrait, the Quest/Emote column and the joystick moved about
50 logical px to the left and stay clear of the cutout.
### 2026-10-13 Mobile: tapping an edit line shows the keyboard again
- The frame loop only called `SDL_StartTextInput` when `ime.EnableCaptureInput` state changed.
Once the user hid the on-screen keyboard (Back or the keyboard's hide key), the login edit
kept focus, so tapping the ID or password box changed nothing and the keyboard stayed hidden.
- `HostTouchSink::UiMouseDown` now notes a finger landing on the focused window (or a child of
it) while text is captured. The next frame calls `SDL_StartTextInput` again if the keyboard is
hidden; SDL shows it again without restarting text input.
- Verified on the device (login board): Back hides the keyboard; tapping ID or Password
brings it back; tapping the background does not. Desktop ctest 59/59.