Skip to content

1.6.3

Choose a tag to compare

@steeb-k steeb-k released this 27 Jul 04:05
· 72 commits to main since this release

A maintenance release correcting three defects in accent color handling. All
three came out of a single report: the accent source was set to "Windows accent",
but the interface was always purple.

KI-30 — "Windows accent" read the wrong value

The Windows accent was read with DwmGetColorizationColor, which returns the
composited colorization color — the accent blended with the desktop's
colorization balance — rather than the accent itself. On a stock Windows 11
profile with an accent of #0078D4, Diskoria painted #006FC4: close enough to look
correct, but never a match.

That call also fails in a session without desktop composition, including
Windows PE, where Diskoria is intended to run. The failure was silent: the accent
fell back to the first palette color while the Settings page continued to show
"Windows accent" as the selected source, with nothing on screen to explain it.

Diskoria now reads the accent the user actually chose, from
HKCU\Software\Microsoft\Windows\DWM\AccentColor, and keeps the previous call as
a fallback. When neither is available, the Settings page says so instead of
quietly showing the fallback color, and the same condition is recorded in the
startup log.

KI-29 — The custom hex field committed its own placeholder

The "Custom hex" field on the Settings page starts out holding the default value
#8E44AD, the same purple as the first palette swatch. Leaving the field committed
whatever it contained, without checking whether anything had been typed, so the
field committed its own placeholder. Because the keyboard tab order moves focus
through that field, moving through the Settings page with the keyboard was enough
to enable the custom accent, discard the selected palette color and repaint the
interface purple. Afterwards no swatch appeared selected, so the accent looked
stuck rather than replaced.

The field now commits only after a real edit.

KI-31 — Tray surfaces used a hard-coded accent

The tray flyout and the two tray context menus took their accent color from the
main window, falling back to a fixed blue when no main window was open. That is
precisely the case where the tray is the entire interface: started minimized from
the startup task, or after the last window was closed to the tray. Those surfaces
now use the configured accent in every case.

Upgrading

Update checks are available to installed builds only; portable copies have no
update path. Upgrading from 1.6.0 must be done by running the installer manually.