✅ TEST_INVERTED_SELECTION_RANGE (PASSED): I tested this issue with the attached "Keyman 17.0.320-beta-test-11389" build on an Android 14 environment: Here is my observation. (notes)
✅ TEST_NORMAL_SELECTION_RANGE (PASSED): I followed steps 1 to 3 that were mentioned above. The keyboard did not disappear when selecting some text from left to right. When moving the text selection from left to right and right to left, it happens appropriately.
TEST_INVERTED_SELECTION_RANGE (PASSED): I tested this issue with the attached "Keyman 17.0.320-beta-test-11389" build on an Android 14 environment: Here is my observation.
Installed the "keyman-17.0.320.apk" file and gave all permissions to the application.
Checked the "Enable Keyman as system-wide keyboard" and set the keyboard as the default keyboard box on the settings page.
Open the Chrome browser, and then enter some text in the address bar and Google search box.
The keyboard did not disappear when selecting some text from right to left. The keyboard stays on the screen when dragging the text selection from right to left.
TEST_NORMAL_SELECTION_RANGE (PASSED): I followed steps 1 to 3 that were mentioned above. The keyboard did not disappear when selecting some text from left to right. When moving the text selection from left to right and right to left, it happens appropriately.
Relates to #11360 and follows #11384 -
Applies suggested refactoring of updateSelection
selStart
,selEnd
, andresult
varsUser Testing
Setup Install PR build of Keyman for Android and enable Keyman as the default system keyboard
TEST_INVERTED_SELECTION_RANGE : Using Keyman for Android as a system keyboard, ensure that backwards selection ranges do not crash the keyboard.
TEST_NORMAL_SELECTION_RANGE: Using Keyman for Android as a system keyboard, ensure that normal (forward) selection ranges do not crash the keyboard