Repository navigation
Several fixes and better retries - #148
Merged
Merged
Conversation
After the four quick attempts the rebuild gave up and left the old, dead model listed. It now goes on with doubling delays up to every 5 minutes until the device can be read, it's disabled or the app exits. The delays are shared with the start's retries of Windows audio.
A saved hotkey that the system refused at startup, on a default device change or when the hotkey mode switched was only logged (or shown as an error) and never tried again in that run. Now the hotkey service keeps it counted and tries it again, 1 s after the refusal and with doubling delays up to every 5 minutes, until it's registered or turned off. The settings pages show the error while it's refused and remove it once it works. A new hotkey typed into a box is still rejected right away.
The device icon was read once at the system's large icon size and the tray scaled it down, also after a display scale change. The tray now reads it from the device's icon path at its own size, once per size, like the app icon, and falls back to the old icon if that fails.
An ignored WPF failure is reported at most once a minute, and the failures in between were only counted for the next report, so the last ones were lost when no failure followed. They're now reported once the minute is up. Likewise the Loggly rate limit sent a dropped count only with the next message like it: what is left is sent in one line at exit.
This file contains hidden or 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
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.
No description provided.