Skip to content

fix(ios): reset context when osk is resized#6428

Merged
mcdurdin merged 1 commit intobetafrom
fix/ios/6416-keyboard-switch-newContext
Mar 31, 2022
Merged

fix(ios): reset context when osk is resized#6428
mcdurdin merged 1 commit intobetafrom
fix/ios/6416-keyboard-switch-newContext

Conversation

@keyman-server
Copy link
Copy Markdown
Collaborator

@keyman-server keyman-server commented Mar 25, 2022

Fixes #6416.
Fixes #6112.

The OSK is being rebuilt when we change size in some cases, which causes the default layer to be incorrectly set.

User Testing

@keymanapp-test-bot
Copy link
Copy Markdown

keymanapp-test-bot bot commented Mar 25, 2022

User Test Results

Test specification and instructions

  • TEST_DEFAULT_LAYER (PASSED): Tested this with updated iOS simulator along with Obolo_Chwerty#6351 (hence, I did not find the other Keyboard ( obolo_chwerty_3151) as mentioned by Marc. However, this PR is passed and it is working as expected. ie., while switching from some other other keyboard to obolo_chwerty keyboard, the default layer is set correctly (eg., in the shift layer). Seems to be working as expected. (notes)

Test Artifacts

@bharanidharanj
Copy link
Copy Markdown

  • TEST_DEFAULT_LAYER (PASSED): Tested this with updated iOS simulator along with Obolo_Chwerty#6351 (hence, I did not find the other Keyboard ( obolo_chwerty_3151) as mentioned by Marc. However, this PR is passed and it is working as expected. ie., while switching from some other other keyboard to obolo_chwerty keyboard, the default layer is set correctly (eg., in the shift layer). Seems to be working as expected.

In-App Keyboard: (the default layer of the obolo_chwerty keyboard)

System Keyboard: (the default layer is in the shift layer)

Copy link
Copy Markdown
Contributor

@sgschantz sgschantz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcdurdin mcdurdin merged commit c53edd9 into beta Mar 31, 2022
@mcdurdin mcdurdin deleted the fix/ios/6416-keyboard-switch-newContext branch March 31, 2022 20:32
@keyman-server
Copy link
Copy Markdown
Collaborator Author

Changes in this pull request will be available for download in Keyman version 15.0.225-beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(ios): switching keyboards does not trigger newContext bug(ios): in-app keyboard does not work correctly with start-of-sentence

4 participants