bug(windows): uninstall an older version of Keyman without a manual restart cause the removal of 5 language associations of the 6 keyboards package from Keyman & keyboard bundle download
- Dominant language
- Pascal
- Stars
- 534
- Forks
- 143
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 113
Description
### Describe the bug
While trying to replicate issues related to Keyman for Windows, I tried putting myself into our Users' point of view. I have one reproducible issue related this section:
https://community.software.sil.org/t/problems-setting-up-keyman-to-type-in-devanagari/11016/3
> I downloaded the Heidelberg Input Solution from within Keyman, rather than from the Heidelberg webpage, and I noticed that the English language had been automatically added to the keyboards in the pack. Before, when downloading from the Heidelberg webpage, I had to add this manually to each keyboard I wanted to use. Next, I installed the Windows Hindi language pack on both computers and rebooted them. Then, all worked as intended.
Since restarting the machine (when the issue arises) does not resolve the language association, there may be things related to other issues going forward with updating.
Moreover, our User had to manually add the language when they wanted to use the keyboards until they realized later on that shouldn't be the case.
### Reproduce the bug
1. With an older version of Keyman, e.g. `18.0.240`
2. Delete `18.0.240` through Control Panel
3. Prompted to reboot is shown asking for a manual restart
4. No manual restart (There was no auto-restart even after clicking ok)
5. Go to [The Heidelberg Input Solution keyboard](https://keyman.com/keyboards/install/heidelberginputsolution)
6. Download and Install the keyboard and Keyman (keyman-setup.heidelbergeinputsolution.exe)
7. Options in the "Install options" are disabled → Click Install → Waiting to finish installing
8. On startup dialog, all of the 6 keyboards display, Keyman is 18.0.245 → Start Keyman
9. Only 1 keyboard is shown
10. Try adding `en` language to one of the missing keyboard results in a language association limits error dialog until Hindi is removed.
### Expected behavior
- Is there a way to make it clear to the end user that a restart must happened, if not manually, then auto-restart? (Step 4)
- The 6 keyboards should all appear with the correct language association; not Hindi (Step 9)
### Related issues
_No response_
### Keyman apps
- [ ] Keyman for Android
- [ ] Keyman for iPhone and iPad
- [ ] Keyman for Linux
- [ ] Keyman for macOS
- [x] Keyman for Windows
- [ ] Keyman Developer
- [ ] KeymanWeb
- [ ] Other - give details at bottom of form
### Keyman version
18.0.240 & 18.0.245
### Operating system
Windows 11
### Device
macOS Parallels
### Target application
_No response_
### Browser
_No response_
### Keyboard name
[The Heidelberg Input Solution keyboard](https://keyman.com/keyboards/install/heidelberginputsolution)
### Keyboard version
_No response_
### Language name
_No response_
### Additional context
1. Uninstall, Restart, and Reinstall Keyman resolves this issue.
Contributor guide
Assessment
This issue has not been assessed yet.