-
-
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): undefined reading 'deleteLeft' causing crash in Android app #12494
Comments
His video was too large to attach to GH so I will split it... Uploading output_video.mp4… |
To get the error it is sufficient to do steps 5 and 6. Same thing happens with KeymanWeb test page. Note that you'll have to switch keyboards to get the error again after it happened. |
Since this is web, I'll unassign myself on this. @ermshiperete can get to it A18S19 |
I'm no longer able to reproduce this. @dinakaranr Can you please re-test and see if this works now for you as well? |
#12860 prevents the crash in the code which otherwise could still happen even though I wasn't able to reproduce it. |
I tested this issue with the attached "18.0.162-alpha" build on the Andoird 14 and am sharing my observations here. I reproduced this crash using the "sil_euro_latin" keyboard. |
Here's the source of the keyman/web/src/engine/predictive-text/worker-thread/src/main/correction/context-tracker.ts Lines 426 to 432 in d702553
This block is within a loop: keyman/web/src/engine/predictive-text/worker-thread/src/main/correction/context-tracker.ts Lines 416 to 418 in d702553
It's iterating over three items when following the repro at the top, with edit path Note: this is a fun consequence of |
No wonder I'm not able to reproduce if I use the wrong test file. Since this is predictive-text related it has to be tested on a page that shows predictions 🤦 . For example "Prediction - robust testing". |
@dinakaranr recorded and reported this issue using the current Keyman for Android 18.0 alpha
(I can repro on 18.0.117-alpha)
Steps to repro:
g̃
ḥ
ĵ
'
The chrome dev tools gives the following error
The text was updated successfully, but these errors were encountered: