Skip to content

fix(web): app/webview did not clear deadkeys on context-reset#10039

Merged
jahorton merged 1 commit intomasterfrom
fix/web/app-context-deadkey-reset
Nov 23, 2023
Merged

fix(web): app/webview did not clear deadkeys on context-reset#10039
jahorton merged 1 commit intomasterfrom
fix/web/app-context-deadkey-reset

Conversation

@jahorton
Copy link
Copy Markdown
Contributor

Discovered during user-test development for #9973: our mobile app context-reset commands were not erasing deadkeys from the context. This likely was a missed "loose thread" that arose from ES-modularization work.

@keymanapp-test-bot skip

User test TEST_APP_10_KEY_DIACRITICS from #9973 covers this sufficiently; this change has been 🍒-picked for master from that feature-gestures PR.

this.contextManager.configure({
resetContext: (target) => {
// Could reset the target's deadkeys here, but it's really more of a 'core' task.
// So we delegate that to keyboard-processor.
Copy link
Copy Markdown
Contributor Author

@jahorton jahorton Nov 22, 2023

Choose a reason for hiding this comment

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

Considering that deadkeys are very much managed internally by desktop-Core, this seemed like the right decision... given that we plan to integrate desktop-Core in the future.

@jahorton jahorton merged commit 4970664 into master Nov 23, 2023
@jahorton jahorton deleted the fix/web/app-context-deadkey-reset branch November 23, 2023 04:53
@keyman-server
Copy link
Copy Markdown
Collaborator

Changes in this pull request will be available for download in Keyman version 17.0.216-alpha

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.

3 participants