bug(android): when switching keyboards, backspace can sometimes stop working properly
- Dominant language
- Pascal
- Stars
- 534
- Forks
- 143
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 113
Description
### Describe the bug
Sometimes, when I type in one script and then switch keyboards to another script, the backspace key gets stuck and will not backspace. This only happens when I hold the backspace key down to delete a bunch of characters. If I just hit the backspace once, it doesn't get stuck.
However, I cannot reliably reproduce the issue, so I do not yet know what triggers this behavior.
### Reproduce the bug
1. Open Keyman Beta 17.0.322-beta
2. Change keyboards to `sil_euro_latin`
3. Type some text with perhaps a space
4. Switch keyboards to an Arabic script keyboard like `afghan_turkmen`
5. Type some arabic script text. Perhaps type an enter or switch layers, press and hold the backspace key.
### Expected behavior
I expect a bunch of characters to get deleted.
Often it just doesn't move. If I think type backspace once, I can then press and hold and it will backspace.
### Related issues
_No response_
### Keyman apps
- [X] Keyman for Android
- [ ] Keyman for iPhone and iPad
- [ ] Keyman for Linux
- [ ] Keyman for macOS
- [ ] Keyman for Windows
- [ ] Keyman Developer
- [ ] KeymanWeb
- [ ] Other - give details at bottom of form
### Keyman version
17.0.322-beta
### Operating system
Android 14
### Device
Samsung S21 5G
### Target application
_No response_
### Browser
_No response_
### Keyboard name
sil_euro_latin and afghan_turkmen
### Keyboard version
3.0.2 and 2.0
### Language name
_No response_
### Additional context
I have two recordings which I will try to upload.
This first one I was not talking. The backspace worked fine as I typed Arabic script. At the very end it got stuck. It's too big to upload so here's the [link](https://drive.google.com/file/d/1n3wLwUVsXtiXLkdOkdVHCQJJVvFx48iP/view?usp=drive_link).
This second one I tried to talk through what was happening.
https://github.com/keymanapp/keyman/assets/7071907/ce94fb92-7d2e-47bb-b36e-2ec0405236b7
I don't know how to reproduce this, if I figure it out, I will submit more information.
Contributor guide
Assessment
This issue has not been assessed yet.