Skip to content
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

Merge keyboard properties partially to allow for proper reset #356

Merged
merged 3 commits into from
Feb 18, 2021

Conversation

jacobkeeler
Copy link
Contributor

Fixes issue with #348

Testing Plan

  • I have verified that I have not introduced new warnings in this PR (or explain why below)
  • I have tested this PR against Core and verified behavior (if applicable, if not applicable, explain why below).

Core Tests

Set all keyboard properties via SetGlobalProperties to non-standard values, then send ResetGlobalProperties. Keyboard should be in its default state.

Core version / branch / commit hash / module tested against: develop
Proxy+Test App name / version / branch / commit hash / module tested against: RPC Builder JS, master

Summary

Partially merge keyboard properties so that ResetGlobalProperties works properly.

Changelog

Bug Fixes
  • Only merge keyboard properties which are sent in ResetGlobalProperties

CLA

}
if (!action.keyboardProperties.language) {
keyboardProperties.language = app.keyboardProperties.language;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Set KeyPressMode if omitted?

  <param name="keypressMode" type="Common.KeypressMode" mandatory="false" >
    <description>
        Desired keypress mode.
        If omitted, this value will be set to RESEND_CURRENT_ENTRY.
    </description>
  </param>

@jacobkeeler jacobkeeler merged commit 1fcb60e into develop Feb 18, 2021
@jacobkeeler jacobkeeler deleted the fix/reset_keyboard_properties branch February 18, 2021 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants