Bugzilla – Bug 7422
dead keys and backspace very unreliable on Android
Last modified: 2019-11-06 09:40:18
You need to
before you can comment on or make changes to this bug.
Using any of the dead keys or backspace is very broken on Android, no matter
the browser. The dead keys tends to get wedged in some way so every subsequent
key gets modified. And backspace only works sometimes.
This only happens with the physical keyboard and only when the focus is on the
canvas, not the textarea helper we use to open a virtual keyboard.
There seems to be some internal buffer at play here. The number of missing
backspace events is the same as the number of character keys pressed before it.
E.g. typing "abc" then three presses of backspace will go missing, but the
This seems to happen at a low level as attaching an event listener in capture
mode to the document doesn't see any of those missing events either. So it
smells like a browser bug.
This probably explains the weird dead key behaviour as well. The lack of a real
buffer wedges the dead key state, so every key after that gets modified.
Reported to Firefox:
Tried to report it to Chrome, but their issue tracker is currently broken:
Not doing anything more right now.
As a workaround the user can press the control bar button to open the keyboard.
This moves the focus to the input field instead of the canvas which works
It turns out that the chosen virtual keyboard also handles the physical
keyboard. And this works just fine with GBoard. It's only SwiftKey that has an
Unfortunately SwiftKey does not have a public issue tracker. I've sent them a
report via their support form at least.
Closing this as we consider this a SwiftKey bug and we cannot track it.