fix(windows): Add invalidate context action to non-updatable parse#7089
Merged
fix(windows): Add invalidate context action to non-updatable parse#7089
Conversation
Rename ProcessActionsTestParse to NonUpdatable parse. It does more then just test. Add handling for the invalidate context action to this parse, so that if we emit a keystroke we invalidate the context
User Test ResultsTest specification and instructions
Test Artifacts |
Contributor
Author
|
My mistake @bharanidharanj I put in the wrong test keys to type. I have updated the test input keys. Please retest @keymanapp-test-bot retest TEST_ENTER_INVALIDATE |
@rc-swag Okay. I will retest. |
Member
|
Note: this needs a cherry-pick to |
Collaborator
|
Changes in this pull request will be available for download in Keyman version 16.0.51-alpha |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fixes #7078
Rename ProcessActionsTestParse to NonUpdatable parse as it does more than just test. Add handling for the invalidate context action to this parse. In the case when an emit keystroke is in the action list it will be emitted and the Updateable round will never occur so we need to invalidate the context now in the non-updatable parse.
User Testing
Install the keyman for windows build associated with this PR
The key referred to as "enter" also has key cap labelled "return" on many keyboards.
TEST_ENTER_INVALIDATE
Expected Result:
"አስድፍ
አ"
Keyboards for the following test are found in the zip file 7077_test_keyboards.zip . Reusing keyboards from PR#7077
TEST_OUTPUT_KEYSTROKE
Expected Result: "abd3"
TEST_OUTPUT_KEYSTROKE_INVALID_CONTEXT
Expected Result:
"abc
3"
TEST_DEADKEY_AND_CONTEXT
Expected Result: "correct"