feat(android): when selecting text, the keyboard has no context and thus gives Initial case, usually wrongly
- Dominant language
- Pascal
- Stars
- 534
- Forks
- 143
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 113
Description
**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:**
- Device: Samsung A90 5G
- OS: Android 12
- Keyman version: 15.0.269-stable
Contributor guide
Assessment
This issue has not been assessed yet.