-
-
Notifications
You must be signed in to change notification settings - Fork 112
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(android): Casing questions on the suggestion banner #8164
Comments
OK examining the mtnt.tsv word list, it uses "Hello". (Also "Yep") I thought predictive text lower-cases all the words though? |
Upper case suggestions remain upper case (for proper nouns in many langs). Otherwise case matches context. |
OK, I've updated keymanapp/lexical-models#178 to cleanup the capitalizations there. Then this issue will remain for tracking down why the Android app resumes and moves suggestions over. (Scenario 2) |
I can repro scenario 2 on Keyman for iPhone and iPad 16.0.138. Is predictive text doing something different when resuming? Is this an issue with the Android and iOS apps, or KeymanWeb? |
To triage again in A17S7 |
I added logging and on resuming the Android app, I see |
Bumping back to 17.0 for @jahorton to look at when modularization refactor is completed. |
Sorry, didn't notice this issue until now. The very likely answer is yes, it is doing something different. You should get very similar results if you change the caret's location and then place it back at the end of the context. The big distinction I'm noticing here: When actively typing, we present a 'keep' option if it does indeed match a word in the lexicon when including the keystroke just typed. ("Hell" is a valid English word.) On context-changes, though... it seems like the "keep" option isn't being generated or returned, for whatever reason. (Note: "resuming" is acting like a context-change.) Thus, that option disappears and the other options slide over. |
Sounds like the suggestions are presented as designed. Resuming = context-change = not typing anything for the "keep" option. |
Running 16.0.138 stable in the Keyman for Android app, I encountered some scenarios that look curious:
(Not sure if any is related to #7165
Scenario 1 - "Hello" suggestion is capitalized
Typing "hell" results in the suggestions: hell, Hello, hella. I'm confused why "hello" is always capitalized. This isn't at a start of a sentence.
Scenario 2 - "Hello" moves from middle to left position
From scenario 1, leave the device inactive until the screen lock kicks in. After unlocking the screen, the suggestions refresh to: Hello, hella, helluva
I haven't tested on other platforms to see if this is only on AndroidI built stable-16.0 and tried mobile viewport of web/testing/prediction-mtnt and it shows "Hello" in the middle too
The text was updated successfully, but these errors were encountered: