keymanapp / keymanapp/keyman

bug(windows): Key processing with text selection problems (TSF)

Open
#10,011 0 comments 0 reactions 1 assignee Claimed by @rc-swag View on GitHub
bug m:text-selection windows/
Dominant language
Pascal
Stars
534
Forks
143
Avg merge
2d 10h
Merged PRs (30d)
113

Description

The test cases for the [Text Selection and Key Processing spec](https://github.com/keymanapp/keyman/issues/9073) with a TSF aware app on Windows 10 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.

Keyman 16.0.142
Windows 10.0.19045
WordPad Version 22H2 (OS Build 19045.3570)

## Failed tests

Test | Setup | Action | Expected | Actual
-----|-------|--------|----------|--------
(T01) | `^⁞X the quick brown fox⁞A` in doc | Typing BKSP | `^⁞A` | `foo⁞A`
(T02) | `^⁞X the quick brown fox⁞` in doc | Typing BKSP, then A | `Â⁞` | `fooA⁞`
(T06) | `^⁞X⁞` in doc | Typing BKSP | `^⁞` | `foo⁞`
(T07) | `^⁞X⁞` in doc | Typing BKSP, BKSP | `foo⁞` | `fo⁞`
(T09) | `a⁞bc de⁞` in doc with selection starting at `b` | Typing BKSP | `a⁞` | `⁞`
(T10) | `a⁞bc de⁞` in doc with selection starting at `e` | Typing BKSP | `a⁞` | `⁞`
(T11) | `abc ⁞de⁞ fg` in doc | Typing BKSP | `abc ⁞ fg` | `abc⁞ fg`
(T15) | Type X, a, \`, b. Select `b` (`Xa⁞b⁞`) | Press BKSP, BKSP | `X` | (empty)
(T16) | Type X, a, \`, b. Select `b` (`Xa⁞b⁞`) | Press BKSP then o | `Xao` | `Xo`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.