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

Holding any key on chrome OS doesn't send repeated key presses #156

Open
mkokotovich opened this issue Sep 10, 2016 · 6 comments
Open

Holding any key on chrome OS doesn't send repeated key presses #156

mkokotovich opened this issue Sep 10, 2016 · 6 comments

Comments

@mkokotovich
Copy link

In the rest of Chrome OS (and every other OS) when I press and hold backspace it eventually starts to send repeated keystrokes. In termux it doesn't seem to send the repeats, just one per press. I'd love to be able to backspace quickly by holding down the backspace key.

@qntmpkts
Copy link

Title should be modified to "Holding any key...".

This may be an issue with how Termux and other Android apps handle key inputs for public class KeyEvent: https://developer.android.com/reference/android/view/KeyEvent.html .
For example, on some Android apps in Chrome OS, the key-repeat-on-hold works as expected but on others it doesn't. I haven't done a code review of the repo in lieu of the maintainer, so just mentioning for now that this might be the underlying cause.

@qntmpkts
Copy link

According to rumors (because I cannot find hard sourcing), this is a known issue in the Android Runtime for Chrome and is being actively debugged. I will update this post if I happen to find any info.

In the meantime, it is advisable to submit feedback to the devs with Alt+Shift+i.

FYI, I report that any key fails on samus (pixel). This may not reflect everyone's experience, however.

@mkokotovich mkokotovich changed the title Holding backspace on chrome OS doesn't send repeated key presses Holding any key on chrome OS doesn't send repeated key presses Sep 19, 2016
@mkokotovich
Copy link
Author

Agreed, that is my experience as well. Any key press is failed to be repeated. I have an asus flip.

@justinkelly
Copy link

Just retested this - on my ChromeBook Flip - Beta channel - holding any key now repeats!!

1 in 10 times it wont work perfectly - but its now good enough that I'm happily coding away in Termux on ChromeOS :)

@qntmpkts
Copy link

qntmpkts commented Dec 29, 2016

Apologies for the late reply (forgot to enable email notices). I have confirmed that this is resolved. Current build info:

Platform: 9000.29.0 (Official Build) beta-channel samus
Firmware: Google_Samus.6300.174.0
Channel: Currently on beta
ARC Version: 3570837
Blink: 537.36 (@0)
V8: 5.6.326.25

This issue may be closed, excepting any further problems.

@sneak
Copy link

sneak commented Feb 20, 2018

Using Chrome OS Version 63.0.3239.140 (Official Build) (64-bit) I get key repeats, but the rate is slow - it doesn't obey the system key repeat rate setting in Chrome OS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants