keymanapp / keymanapp/keyman

bug(web): blank key keypress handling leads to unexpected output

Open
#5,736 3 comments 0 reactions 0 assignees View on GitHub
bug m:osk web/
Dominant language
Pascal
Stars
534
Forks
143
Avg merge
2d 10h
Merged PRs (30d)
113

Description

While investigating #5301 on an Android 5.0 emulator, I noticed this behavior on the "currency" layer of
sil_euro_latin

Longpressing on the blank keys seem output the key from the neighboring key (fat-finger algorithm).

* Blank key next to to ฿ would output `฿`
* Blank key next to backspace would backspace

Shouldn't the blank keys block fat-fingering output?

## Steps to repro:
1. Load Keyman for Android with the default sil_eruro_latin keyboard
2. Go to "numeric" layer and then "currency" layer
3. Longpress on ฿
4. Verify `฿` is output
5. Longpress on the blank key next to ฿
6. See the longpress above the ฿ key
7. Select the `฿` longpress
6. See `฿` output again
7. I noticed the blank key next to backspace will also backspace a character.

![Screenshot_1632282138](https://user-images.githubusercontent.com/7358010/134280272-a98e6932-185c-46e9-9aa8-38235dda81be.png)

### Configuration
Windows 10
Keyman for Android (master branch)
Keyboard: sil_euro_latin version 1.9.5

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.