-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
bug(web): dropped chars and unintended upflicks with 17.0.307-beta #11221
Comments
I observe the same behavior using Keyman Beta for Android 10.0.307-beta and my own keyboard. I have "Show taps" activated on my device (Samsung Galaxy S21 running Android 12) helping to confirm the issue: https://drive.google.com/file/d/1vb5A0XvwKIHn72ww38XSLotKl9fgwSQk/view?usp=sharing Not in recording: Observed no dropped characters when typing slowly. I tried to reproduce the issue on the keyboard I installed from my KAB app (using the same .kmp file) but found that the issue was not present there. |
17.0.304 is good |
17.0.305 is good |
17.0.306 is good. Regression definitely introduced in 17.0.307-beta. |
The most likely influence would be #11216, then. And I do recall seeing cases when rapid-typing that a longpress in the middle of rapid-typing sometimes cancelled out further keystrokes; I should've documented it at the time. (I noticed this while addressing the previous rapid-typing issue.) Given #10647, if a longpress were accidentally triggered when rapidly typing, and then the prior bug triggered, that could easily cause dropped keystrokes. Gives me something to look at and chase down, at least. |
Device used in the initial error report: Samsung Galaxy A53 5G
|
I think I found one repro, at least: Type the following sequence with the pattern described below:
Of course, also make sure you don't take long enough for a longpress to trigger. Expected result: obviously,
|
That repro correlates well with what I'd expect when typing rapidly. |
I believe I've now identified why it showed up with .307. In #11216, the "resolution priority" of the base longpress model was raised significantly in order to ensure that the longpress up-flick wasn't blocked by flick-start for keys with both longpresses and downflicks. This new priority is also significantly higher than that of a basic 'initial-tap'. This has an unfortunate side-effect in which a missing flag from the |
Glad you were about to figure this out @jahorton! |
Regression from 17.0.301-beta.
Video on drive: https://drive.google.com/file/d/1AWCRAX1eT6Ql9TRycP2c3U36k5LbTqOY/view?usp=drivesdk
The text was updated successfully, but these errors were encountered: