fix(web): Fix clearing of deadkeys#9944
Conversation
Since things are working in both cases it seems that the problem got fixed and the comments are obsolete.
User Test ResultsTest specification and instructions
Test Artifacts
|
Also adds a similar testcase to the baseline keyboard tests.
56be76b to
a43fad4
Compare
mcdurdin
left a comment
There was a problem hiding this comment.
This looks okay, but I have some questions around the testing of the default backspace handling with deadkeys -- are all the scenarios in k_020__deadkeys_and_backspace being covered? Are they being tested automatically at present or did you manually test?
Also can you split out the change you made to k_020 because it is a different test case?
common/test/keyboards/baseline/k_020___deadkeys_and_backspace.kmn
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
While I'm guessing this test keyboard was under consideration for use, it looks like that got cancelled. Not sure about the removal of a few comments from lines 25 and 26, so I'll leave that aspect of the review to others.
common/test/keyboards/baseline/k_020___deadkeys_and_backspace.kmn
Outdated
Show resolved
Hide resolved
Addresses code review comments.
53d95e5 to
4851c54
Compare
| c keys: [K_1][K_BKSP][K_2][K_BKSP][K_3][K_BKSP][K_4][K_BKSP][K_5][K_BKSP][K_6][K_BKSP] | ||
| c expected: 78aa | ||
| c 7. Two chars and one deadkey in between in context: 'c' (dk7) 'd' + BKSP = 'ok' | ||
| c keys: [K_1][K_BKSP][K_2][K_BKSP][K_3][K_BKSP][K_4][K_BKSP][K_5][K_BKSP][K_6][K_BKSP][K_7][K_BKSP] [K_BKSP] |
There was a problem hiding this comment.
| c keys: [K_1][K_BKSP][K_2][K_BKSP][K_3][K_BKSP][K_4][K_BKSP][K_5][K_BKSP][K_6][K_BKSP][K_7][K_BKSP] [K_BKSP] | |
| c keys: [K_1][K_BKSP][K_2][K_BKSP][K_3][K_BKSP][K_4][K_BKSP][K_5][K_BKSP][K_6][K_BKSP][K_7][K_BKSP][K_BKSP] |
| c 6. One char and two deadkeys and one char and two deadkeys in context 'a' dk(6a) dk(6b) 'b' dk(6c) dk(6d) + BKSP = 'a' | ||
| c keys: [K_1][K_BKSP][K_2][K_BKSP][K_3][K_BKSP][K_4][K_BKSP][K_5][K_BKSP][K_6][K_BKSP] | ||
| c expected: 78aa | ||
| c 7. Two chars and one deadkey in between in context: 'c' (dk7) 'd' + BKSP = 'ok' |
There was a problem hiding this comment.
| c 7. Two chars and one deadkey in between in context: 'c' (dk7) 'd' + BKSP = 'ok' | |
| c 7. Tests behaviour when deleting two characters with deadkey prior to first character, | |
| c verifying that deadkeys are preserved with the first backspace event: | |
| c 'c' (dk7) 'de' + BKSP + BKSP = 'ok' |
| c 4. Two deadkeys in a row in context dk(4a) dk(4b) + BKSP = nul | ||
| c 5. One char and two deadkeys in context 'a' dk(5a) dk(5b) 'b' + BKSP = 'a' | ||
| c 6. One char and two deadkeys and one char and two deadkeys in context 'a' dk(6a) dk(6b) 'b' dk(6c) dk(6d) + BKSP = 'a' | ||
| c 7. Two chars and one deadkey in between in context: 'c' (dk7) 'd' + BKSP = 'ok' |
There was a problem hiding this comment.
Need to update this test to match k_020
|
Changes in this pull request will be available for download in Keyman version 17.0.208-alpha |
Fixes #8568.
User Testing
TEST_8568: Verify that #8568 is fixed
phaa saa laaw kothen press bksp, bksp