RustDesk/flutter/lib/mobile
Yousif Almulla 7b04665f33 fix: Android soft keyboard IME input corruption (#13737, #9789, #11073)
When the Android soft keyboard is active, key events from the IME carry
unreliable physicalKey data (Flutter issue #157771). The RawKeyFocusScope
handler was processing these garbled scancodes, desynchronising the hidden
TextFormField's text buffer and causing every subsequent keypress to repeat
a single character (space or '1').

Changes:
- InputModel: add androidSoftKeyboardActive flag; when set, handleKeyEvent
  returns handled but skips the normal key processing pipeline. Backspace
  and Enter are sent directly using reliable logicalKey data.
- remote_page.dart: set/clear the flag via onSoftKeyboardChanged callback;
  fix multi-delete counting for Samsung keyboard acceleration.

Fixes: rustdesk/rustdesk#13737, rustdesk/rustdesk#9789, rustdesk/rustdesk#11073
2026-03-09 05:12:47 -07:00
..
pages fix: Android soft keyboard IME input corruption (#13737, #9789, #11073) 2026-03-09 05:12:47 -07:00
widgets feat: Add relative mouse mode (#13928) 2026-01-09 10:03:14 +08:00