-
-
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(windows): if kmshell is "silent" don't start a Keyman update #13330
Open
rc-swag
wants to merge
2
commits into
beta
Choose a base branch
from
fix/windows/13329/dont-start-install-silent-mode
base: beta
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+31
−26
Conversation
This file contains 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
Don't start an install of a Keyman Update if the user has not been notified. Fixes: #13329
User Test ResultsTest specification and instructions
Test Artifacts |
There is no need for the keyman startup function to do a background check. It will be done by kmshell, as well as the timer in the keyman form.
ermshiperete
approved these changes
Feb 26, 2025
Test ResultsI tested this issue with the attached KeymanDeveloper"18.0.199-beta-test-13330" build(27/02/2025) on Windows 10 and 11. Here I am sharing my observation.
|
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.
Don't start an install of Keyman Update if the user has not been notified.
This also refactors some of the code into a single helper function which is only called once. However, it visually helps follow the logic.
I also changed in this PR was the removal of a
background update check
in the actualy Keyman Start function. This is superfluous.It also makes the testing of this PR watching the state machine changes easier to observe.
Fixes: #13329
User Testing
We need to test that if Keyman is in
Waiting Restart
and kmshell is started with a-s
switch for silent mode that we don't install.We need to test that if Keyman is in states preceding
Waiting Restart
and kmshell is started with a-s
switch for a silent mode that the handlekmshell event is passed to the state machineTEST_WAITINGRESTART_KMSHELL_KEYMAN_HAS_NOT_RUN_SILENT_MODE:
Install Keyman attached is the PR
Computer\HKEY_CURRENT_USER\SOFTWARE\Keyman\Keyman Desktop
and deletelast update check time
. This needs to be done otherwise it will stay inusIdle
for 7 days.usWatingRestart
TEST_UPDATE_KMSHELL_KEYMAN_HAS_NOT_RUN_SILENT_MODE:
Install Keyman attached is the PR
usUpdateAvailable
usWatingRestart