startup-tools: save the title's window at a fixed interval during a run, not only at the end #2819
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#2819
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@tedin7 on GitHub · 2026-11-26 11:29 UTC · original
Part of #870
Problem.
tools/startup/debug_launch.pysaves the title's window (client area) once, aswindow.png, when the run ends (capture_window()). A run that passes several screens, or stops on one, leaves only the last picture. Testers who drive the title withX2W_INPUT_SCRIPTcannot tell which screen an input reached, when the picture changed, or whether a later screen ever appeared.Proposal.
debug_launch.py --capture-every <seconds>(andrun.ps1 -CaptureEvery,run.sh --capture-every): save the client area every N seconds aswindow_<sss>s.pngnext to the logs, plus the existingwindow.pngat the end. Off by default (0).window captures: 12 saved, 7 unchanged skipped, first change at 74 s.capture_window()into a helper that both the timer and the end-of-run capture call.Tests. A Linux check of the pure parts (file naming, duplicate skip, file cap, summary line). A Windows check that launches the existing source-built windowed fixture with
--capture-every 1, changes its picture at a known time, and asserts the saved files show the change and that unchanged frames were skipped.@tedin7 on GitHub · 2026-11-26 11:29 UTC · original
Taking this one; a Draft PR will follow.