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 |
||
|---|---|---|
| .. | ||
| common | ||
| desktop | ||
| mobile | ||
| models | ||
| native | ||
| plugin | ||
| utils | ||
| web | ||
| common.dart | ||
| consts.dart | ||
| main.dart | ||