keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
387 stars 107 forks source link

feat(android): when selecting text, the keyboard has no context and thus gives Initial case, usually wrongly #7168

Open mcdurdin opened 2 years ago

mcdurdin commented 2 years ago

Is your feature request related to a problem? Please describe.

From a team review of the Keyman for Android UX (#7161)

If you select some text in the middle of a sentence, Keyman tells the keyboard that there is no context. This is not be ideal -- instead it should probably tell the keyboard about the context before the selection, because the keyboard thinks it is at the start of a text field and applies its start-of-sentence rules.

Listing this as a feature request because the current behaviour is by-design... Maybe poor design 😆

Describe the solution you'd like

Give the keyboard a clear signal about the text before the selection. Probably "collapse" the selection so it is ignored completely. Consider ramifications for long selections and interactions with characters prior to selection for context rules (e.g. reordering etc).

I note in the video that the suggestions are not being title cased. This may be related to #7165, and should be considered when fixing either of these issues so we don't chase our tails!

https://user-images.githubusercontent.com/4498365/187525903-36134bc1-85bc-4d0e-8b4a-f38b0d78ccdc.mp4


Keyman for Windows/macOS/Linux/iPhone/iPad/Android:

darcywong00 commented 9 months ago

From A17S27 plan, text selection work for 18.0