Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backspace disables language switch button for some time #630

Closed
ghost opened this issue Apr 2, 2024 · 4 comments
Closed

Backspace disables language switch button for some time #630

ghost opened this issue Apr 2, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Apr 2, 2024

Describe the bug
When the backspace is tapped you can't switch languages instantly, for some reason the language switch button starts acting as a spacebar for a few seconds

To Reproduce

  1. Tap backspace
  2. Instantly try to switch languages using language switch button
  3. See the issue

Expected behavior
It should just switch languages, without mimicking spacebar

App version
1.2

Device

  • Model: Xiaomi 11T Pro
  • OS: Android 13
@ghost ghost added the bug Something isn't working label Apr 2, 2024
@Helium314
Copy link
Owner

There is some altCode that is space for settings and language switch keys, that's what is most likely triggering this issue.
I don't know what this altCode is for, but I learnt that weird undocumented things originating from AOSP keyboard should be handled with care, so I don't want to simply remove / change it.

@ghost
Copy link
Author

ghost commented May 25, 2024

you could make a test version without altCode and I'll try using it for a few weeks and tell you if something unusual will start happening. it's not like i'm a tester or smth, but I wou.d love this issue being fixed

@Helium314
Copy link
Owner

After going through it again, I think the alt code makes sense, becuase if you miss the wanted key and switch keyboard layout, then it's rather annoying.
Possibly this could be changed to only guard against clicks near the key edge though.

@ghost
Copy link
Author

ghost commented Jun 13, 2024

I think the decision you suggest is sane, good idea to do that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant