florisboard / florisboard

An open-source keyboard for Android which respects your privacy. Currently in early-beta.
https://florisboard.org
Apache License 2.0
6.2k stars 405 forks source link

When typing too quickly after switching to symbols keyboard still types letter #2478

Open bauspanderu opened 6 months ago

bauspanderu commented 6 months ago

Short description

I am a pretty fast typer. When I for example want to type a question mark, I quickly switch to the symbol view and very quickly after that tap the button for it. The problem is that right now I do that too quickly and FlorisBoard types an m instead.

https://github.com/florisboard/florisboard/assets/25692171/4633d1d5-4657-4672-9dce-ba26eadcb7e6

Steps to reproduce

  1. Open any text field
  2. Switch to symbol view and very quickly after that type a symbol
  3. Get a letter instead

FlorisBoard Version

0.4.0-beta2

Install Source

F-Droid

Device

Samsung Galaxy S21 FE 5G

Android

Stock One UI 6.0, Android 14

bauspanderu commented 6 months ago

I believe I found the issue, it is because FlorisBoard only switches to the symbols after you release the button, not after you press it.