Turtle Dove af8bfcbaed Android: Clear mouse pos on touch release (#6627), SDL2: Restore StartTextInput for Android (#7636)
Android backend (imgui_impl_android.cpp):
- After AMOTION_EVENT_ACTION_UP for FINGER/UNKNOWN input, clear mouse
  position via AddMousePosEvent(-FLT_MAX, -FLT_MAX). This prevents buttons
  from staying in hovered/pressed state after touch release. On touchscreens
  there is no hover — the pointer is gone after release. (#6627)
- Omar confirmed this is the right approach in issue comments: 'the backend
  should submit a mouse leaving event after the touch release'

SDL2 backend (imgui_impl_sdl2.cpp):
- Restore SDL_StartTextInput()/SDL_StopTextInput() in the IME handler
  (ImGui_ImplSDL2_PlatformSetImeData). These calls were removed in a7703fe6
  due to concerns about desktop IME, but are required on Android to show
  the on-screen keyboard when InputText is focused. The equivalent fix was
  already applied to SDL3 in fab96a6e but not SDL2. (#7636)

Both fixes are referenced in docs/CHANGELOG.txt.
2026-07-15 09:37:12 -05:00
..
2026-01-20 18:25:18 +01:00