Skip to content

Stuttometer v0.12.0 - UI Scaling, Defender Scan Paths & UX Polish

Choose a tag to compare

@xdr0p xdr0p released this 30 Nov 16:08
· 10 commits to main since this release

What's New

Global UI Scaling (Small / Medium / Large)

  • Added a Scale selector in Settings → General Preferences (Small (100%), Medium (125%), Large (150%)) so the UI is easier to read on larger or high-DPI displays without changing Windows system scaling.
  • Scales the main window, Settings dialog, Session Summary, and in-game OSD toast uniformly while keeping exported diagnostic cards at their fixed 1200×675 resolution.
  • Persists ui_scale in settings and applies it before initial window creation (also fixing a startup ordering issue where persisted Show: filter selection could display out of sync on launch).
  • Automatically clamps effective UI scale to fit the active monitor's work area on startup, Save & Apply, and monitor-drag WM_DPICHANGED transitions.

Windows Defender Scan Path Capture

  • Extended Microsoft-Antimalware-Engine ETW handling to extract the scanned file/resource path directly from confirmed Stop scan events (Event ID 2 v1/v2/v3, Event ID 6 v1, and Event ID 31/33 v2/v3) on a zero-allocation, lock-free path.
  • Stores paths in a fixed 512-slot seqlock table keyed by a SplitMix64-hashed nonzero token (payload_u64), with exact-QPC timestamp validation and root-prefix-preserving … tail truncation for paths exceeding 259 characters.
  • Surfaces the scanned path in ANTIMALWARE_SCAN evidence (extra_info) in the Diagnostic Inspector and unredacted JSON exports.
  • Extended redact_paths_and_usernames_in_text to scrub NT device/object-namespace paths (\Device\..., \??\..., \SystemRoot\...) when Redact Personal Info is enabled, and ensured raw fallback PIDs/TIDs never enter serialized payload_u64 tokens.

Main Window & Settings UX Polish

  • Renamed the main window Filter: label to Show: and added a dynamic hover tooltip explaining that it filters captured reports in the list (with a gate-aware note when All Events is selected under a preset that gates minor/noticeable events).
  • Added TTM_SETMAXTIPWIDTH wrapping to tooltips in both the main window and Settings dialog for cleaner multi-sentence readability.

Tests

  • Added unit tests for ui_scale config round-trip and preset snapping (test_gui_settings), synthetic Microsoft-Antimalware-Engine Stop UserData path extraction/bounds/truncation (test_etw_session), and AntimalwarePathResolver freshness + NT path redaction (test_correlator).