-
-
Notifications
You must be signed in to change notification settings - Fork 112
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(android/engine): Fix Backspace key to delete without errant subkeys #7156
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.
Minor cleanup, one related question, but LGTM. Change makes sense. Did you audit the rest of the code for similar patterns?
android/KMEA/app/src/main/java/com/tavultesoft/kmea/KMKeyboard.java
Outdated
Show resolved
Hide resolved
….java Co-authored-by: Marc Durdin <[email protected]>
Of the four PopupWindows, only subKeysWindow involves an ArrayList of data that needs to be cleared on dismiss.
|
@keymanapp-test-bot retest TEST_GLOBE |
|
In my tests of this update, this also appears to fix #7172. |
Does this also fix #7169? I can no longer repro that bug on this build. |
OK to merge now. |
@keymanapp-test-bot retest TEST_HELD_BACKSPACE_DELETES |
|
@keyamnapp-test-bot retest TEST_NO_BACKSPACE_DESYNC |
|
Changes in this pull request will be available for download in Keyman version 16.0.57-alpha |
Fixes #7069, fixes #7172, and fixes #7155 and follow-on to #6984
When the subkeys window is dismissed, the subKeysList isn't cleared, so holding backspace key would end up displaying the previous longpress menu.
User Testing
We need to re-run the main test from #6984, first, to verify that this does not re-introduce new bugs.
Setup - A physical Android device. Don't use emulator because the scenario involves typing fast on the OSK (e.g. two thumbs)
e
and immediately swipe upwards to access the long-press menu, keeping your finger down. This should show long-press options without the 0.5 second delay.Note, if the backspace key fails to delete, that's a separate issue bug(android): Pressing Backspace key for a while make the cursor stuck on the text pane #7069 not fixed on this PR
01 Sept -
Adding additional tests to verify if this PR fixes other corresponding issues
Verify there's no spurious longpress keys displayed
Verify the backspace continually deletes characters
TEST_NO_BACKSPACE_DESYNC - Verify backsapce doesn't cause desync between web and app (issue bug(android): Holding backspace appears to desync context between web and app. #7172)