fix(android): Fix OSK rotation issues#10373
Merged
darcywong00 merged 2 commits intomasterfrom Jan 16, 2024
Merged
Conversation
getConfiguration().orientation seems to be deprecated so changing to getRotation() for detecting PORTRAIT vs LANDSCAPE orientation Reference: https://developer.android.com/reference/android/view/Display#getRotation()
User Test ResultsTest specification and instructions
Test Artifacts |
darcywong00
commented
Jan 12, 2024
| android:exported="true" | ||
| android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize" | ||
| android:label="@string/app_name" | ||
| android:resizeableActivity="false" |
Contributor
Author
There was a problem hiding this comment.
This disables the multi-window mode so Android won't use split-screen sizes.
jahorton
approved these changes
Jan 15, 2024
Contributor
|
#10054 tagged at least two of the issues being fixed by this PR. Granted, I don't think we have a consistent repro for it... but how likely do you think this PR fixing #10054 as well would be?
#10054 looks like a LANDSCAPE report with the device in PORTRAIT to me. |
Collaborator
|
Changes in this pull request will be available for download in Keyman version 17.0.245-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 #10241
Fixes #9978
Fixes #9191
There were multiple bugs related to OSK not filling the full width or not appearing after rotating the device orientation.
The main two fixes on this PR:
User Testing
Setup - Install the PR build of Keyman for Android on the device/emulator. Some tests specify a specific Android SDK level