-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(web): prevent layer switch key from erasing selection #11032
fix(web): prevent layer switch key from erasing selection #11032
Conversation
User Test ResultsTest specification and instructions
Test Artifacts
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What you have here seems fine to me. |
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
Test ResultsGROUP_IOS: Run these tests in Keyman for iPhone and iPad
|
Test ResultsGROUP_IOS: Run these tests in Keyman for iPhone and iPad
|
Test ResultsGROUP_IOS: Run these tests in Keyman for iPhone and iPad
|
Test ResultsGROUP_IOS: Run these tests in Keyman for iPhone and iPad
|
Test ResultsGROUP_IOS: Run these tests in Keyman for iPhone and iPad
|
Test ResultsGROUP_IOS: Run these tests in Keyman for iPhone and iPad
|
My apologies, that test was very badly specified by me. I was going to rewrite it and then I missed it. I have rewritten the test, which should be run with the app -- not with KeymanWeb! @keymanapp-test-bot retest group_ios TEST_CONTEXT_SYNC |
@mcdurdin Thanks for the clarification! |
Changes in this pull request will be available for download in Keyman version 17.0.298-beta |
Fixes #7866.
When the transform generated by a key event results in no changes to the text, this will no longer trigger a change event in the apps. This means that layer switch keys will no longer erase the selection.
Fix proposed by @jahorton.
User Testing
GROUP_IOS: Run these tests in Keyman for iPhone and iPad
GROUP_ANDROID: Run these tests in Keyman for Android
TEST_BASIC_INPUT: Verify that basic input continues to function correctly.
TEST_BACKSPACE: Type some text, then verify that backspace continues to work as normal.
TEST_CONTEXT_SYNC: Using Khmer Angkor keyboard, type ខ េ. Select the numeric/symbol layer, and return to the default layer. Press ្ម (longpress on ម). Press Backspace and verify that the output on screen is ខ្ម (and not ខេ).
TEST_SELECTION_DELETION: Type two words, select the second word, and press backspace on the touch keyboard to delete it. Verify that the word is deleted as expected.
TEST_SELECTION_REPLACEMENT: Type two words, select the second word, and press a letter on the touch keybaord to replace it. Verify that the word is deleted as expected, and the new letter is left in its place.
TEST_SELECTION_LAYER_SWITCH: Type two words, select the second word, and press any layer switch key on the touch keyboard. The active layer should change, but the text should not be modified.