bug(android): Text processing with text selection problems
- Dominant language
- Pascal
- Stars
- 534
- Forks
- 143
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 114
Description
The test cases for the [Text Selection and Key Processing spec](https://github.com/keymanapp/keyman/issues/9073) show some limitations.
See [here](https://github.com/keymanapp/keyman/issues/9073#issuecomment-1801356344) for the test cases and the [google doc](https://docs.google.com/spreadsheets/d/1NDO82y77C45pw_ZcMPcD36NZ4VUy9hQcuByieyeJVtM/edit?usp=sharing) for the test results.
## Failed tests on device
Keyman 16.0.138
Android 12
Keyman app on device
| Test | Setup | Action | Expected | Actual |
|------|--------|--------|-----------|---------|
| T04 | `^⁞X⁞` in doc. | Typing Shift+A | `Â⁞` | Shift deletes `X` |
| T05 | `^⁞X the quick brown fox⁞` in doc. | Typing Shift+A | `Â⁞` | Shift deletes selection |
| T08 | `^⁞X⁞` in doc. | Pressing and releasing SHIFT key. | `^⁞X⁞` | `^⁞` |
| T14 | Type A followed by `[K_BKQUOTE]` and B and C. | Press BKSP twice. | `ok1` | `fail1` |
| T51 | `Hello ⁞world⁞` in doc. | | Shift layer should NOT be active | Shift layer is active |
| T62 | `Hello. ⁞world⁞` in doc.| | uppercase predictions | lowercase predictions |
| T64 | `Hello. ⁞world⁞` in doc | Pick one prediction, e.g. `The`. | `Hello. The⁞` | Predictions are lowercase |
| T65 | `⁞Hello⁞. world` in doc | Pick one prediction, e.g. `The`. | `The⁞. world` | Predictions are lowercase |
## Failed tests on device with Bluetooth keyboard
Keyman 16.0.138
Android 12, Bluetooth keyboard
Keyman app on device
| Test | Setup | Action | Expected | Actual |
|------|--------|--------|-----------|---------|
| T04 | `^⁞X⁞` in doc. | Typing Shift+A | `Â⁞` | `^A⁞` |
| T05 | `^⁞X the quick brown fox⁞` in doc. | Typing Shift+A | `Â⁞` | `^A⁞` |
| T14 | Type A followed by `[K_BKQUOTE]` and B and C. | Press BKSP twice. | `ok1` | `fail1` |
| T51 | `Hello ⁞world⁞` in doc. | | Shift layer should NOT be active | Shift layer is active |
| T62 | `Hello. ⁞world⁞` in doc.| | uppercase predictions | lowercase predictions |
| T64 | `Hello. ⁞world⁞` in doc | Pick one prediction, e.g. `The`. | `Hello. The⁞` | Predictions are lowercase |
| T65 | `⁞Hello⁞. world` in doc | Pick one prediction, e.g. `The`. | `The⁞. world` | Predictions are lowercase |
## Failed tests on emulator
Keyman 17.0.216-alpha
Android 13 API 33
Keyman app
| Test | Setup | Action | Expected | Actual |
|------|--------|--------|-----------|-------- |
| T04 | `^⁞X⁞` in doc. | Typing Shift+A | `Â⁞` | `^A⁞` |
| T05 | `^⁞X the quick brown fox⁞` in doc. | Typing Shift+A | `Â⁞` | `^A⁞` |
| T51 | `Hello ⁞world⁞` in doc. | | Shift layer should NOT be active | Shift layer is active |
| T61 | `Hello ⁞world⁞` in doc. | | lowercase predictions | Uppercase predictions |
| T63 | `Hello ⁞world⁞` in doc. | Pick one prediction, e.g. `and`. | `Hello and⁞` | Predictions are uppercase |
Contributor guide
Assessment
This issue has not been assessed yet.