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.
Changed signature of GetKeyChordName() to use ImGuiKeyChord.
Additionally SetActiveIdUsingAllKeyboardKeys() doesn't set ImGuiKey_ModXXX but we never need/use those and the system will be changed in upcoming commits.
Details: note that SDL, OSX and GLFW backends removed recording of MouseJustPressed[] which will be unnecessary with input queue (which is the NEXT commit). (#2787, #1992, #3383, #2525, #1320)