Skip to content

Several fixes and better retries - #148

Merged
G-Stas merged 5 commits into
mainfrom
fix/retry-leftovers
Nov 12, 2026
Merged

G-Stas merged 5 commits into
mainfrom
fix/retry-leftovers

Conversation

@G-Stas

@G-Stas G-Stas commented Nov 12, 2026

Copy link
Copy Markdown
Owner

No description provided.

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.
@G-Stas
G-Stas enabled auto-merge (squash) November 12, 2026 17:48
@G-Stas
G-Stas merged commit c8cbcc1 into main Nov 12, 2026
@G-Stas
G-Stas deleted the fix/retry-leftovers branch November 16, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant