blink icon indicating copy to clipboard operation
blink copied to clipboard

caps lock as escape only works every second press

Open fffergal opened this issue 3 years ago • 0 comments

Checklist

Configuration

Version 15.0.7.536 iPad Pro (11-inch) (3rd generation) iPad OS 15.3.1 Attached kb.json.txt

Describe the bug

So I've finally figured out how to reproduce a problem I'm having with caps as escape on key down. Every second time I hit the escape key, the next time I use the shift key as a modifier, it will send an extra escape. I thought I was just fat fingering the caps lock when hitting shift, but it happens with right shift too. So for example if I hit the keys ⎋ a ( ⎋ a ( it will send ⎋ a ( ⎋ a ⎋ (. Unfortunately this sends me zooming around the code in vim, instead of typing a (!

Discussed briefly in Discord too.

Expected behavior: send the escape key each time I press caps lock, not modifying other modifiers each second press.

While looking into this again, I have made a new discovery, you can map caps lock to escape in iPadOS settings now! I will probably do this, but I can imagine people will still want the in Blink caps lock as escape option if they don't want the behavior in every other app. You can also set caps lock to none at the system level, so I won't keep switching apps and typing a load of text before realizing I have caps lock on. Maybe could give a pointer to the system setting from Blink settings, for people who didn't know the option was available.

fffergal avatar Apr 05 '22 11:04 fffergal