UX: issue forms for test reports, and a menu when victory.exe is double-clicked (fork branches) #910
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#910
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?
@EduBertozzi on GitHub · 2026-11-24 13:58 UTC · original
Two small UX additions (part 1 now folded into #113, see below), ready on my fork for whenever pull requests open again (#717). Neither touches the runtime.
1. Issue forms for test reports
Most issues here are test reports, and each one is written differently: the GPU, driver, Windows build, branch and logs end up in a different place every time, or are missing. That makes the data hard to compare across reports.
The branch
ux/issue-formsadds.github/ISSUE_TEMPLATE/:[Test]title): the VIctory commit and build, GPU maker (dropdown), GPU and driver, system, how far it got and how it ended (dropdowns), time and frame rate, environment variables, and log excerpts. A checkbox confirms nothing from the game is attached.Can't run:title): the command, what you see, the output ofvictory config, the system, GPU and commit.config.ymlkeeps blank issues and links "Getting started" and the hardware results thread (#49) for one-line "works / doesn't on my GPU" notes.2. A menu when
victory.exeis double-clickedToday a double-click opens a console that prints clap's usage and closes. With
ux/launcher-menu, a console the process owns (checked withGetConsoleProcessList, or forced withVICTORY_MENU=1) shows a menu. Every command-line use is unchanged.The same as text
Check this PC answers the questions most "can't run" issues ask, each with a one-line hint:
Colour is a 24-bit gradient (an original sunset palette, nothing from the title). It respects
NO_COLORandCLICOLOR_FORCE, and plain text is used when the console has no VT support. It addswindows-sysConsole/Registry features and the workspace'swindowscrate (for the D3D12 check) to the app, plustempfilefor its tests.Both branches sit on today's
main(ux/issue-forms3 commits,ux/launcher-menu1). If either is wanted, I'll open the pull request once outside PRs are accepted. Feedback on fields or wording is welcome before that.AI-assisted (Claude Code).
@MichaelSmithAI on GitHub · 2026-11-24 14:01 UTC · original
Checked the launcher branch at
7eb2952with the Win64 GNU LLVM build under Wine. Explicit--helpprints the command list even withVICTORY_MENU=1. The forced menu handled empty history, an invalid choice and a missing title path, then quit normally. This exercised the menu and CLI paths. Explorer double-click detection was outside this run.One wording issue in Check this PC: Wine reported Windows 10 build 19045, and the launcher advised installing the Agility runtime. In the same process the probe opened an SM 6.6 device and reported mesh support and a maximum wave size of 32 on the RTX 4090. The actionable result here is that SM 6.6 is available. Suppressing the Agility hint when that probe succeeds would also give the right result for a native Windows 10 installation already using a capable runtime.
The launcher follow-up implements that change. All six menu tests passed, including the Windows 10 case that still needs the hint. The same Wine host now shows both Windows build 19045 and SM 6.6 as ready.
@EduBertozzi on GitHub · 2026-11-24 14:06 UTC · original
Thanks @MichaelSmithAI, both for the Wine run and for the fix. You're right: once the probe has opened an SM 6.6 device, telling a Windows 10 user to install the Agility runtime is noise.
Merged your follow-up into
ux/launcher-menu(7cc4421). Checked here on native Windows 10 19045 (GTX 1060) before merging: the six menu tests pass, and clippy is clean with and without--all-features. A Windows 10 machine without SM 6.6 still gets the hint, and that's the case the screenshot above shows.Explorer double-click detection (
GetConsoleProcessList) is still only tested by hand on native Windows, as you noted.AI-assisted (Claude Code).
@EduBertozzi on GitHub · 2026-11-24 14:12 UTC · original · edited 2026-11-24 14:18 UTC
Updates to
ux/launcher-menu(11ff3bf,3f39c40), from reviewing it again:victory run <game> --execute, in the same console. Before, it ran inside the menu's own process, so a title that crashed or calledExitProcesstook the window with it, and the last log lines too. Now the menu reports how the run ended and waits for Enter. NTSTATUS codes show in hex, so a crash reads0xC0000005. Ctrl+C stops the run and leaves the menu.Cthen Enter copies it as plain text for a GitHub report: no colour, no wrapping, and the profile folder written as%USERPROFILE%. It goes through the Win32 clipboard as Unicode text.VIctory, and option 4 says which folder it opened.Tested on native Windows 10 19045 (GTX 1060) by driving the built
victory.exewithVICTORY_MENU=1:malformed image, and the menu showsexit code 1and carries on.VIctory 0.1.0, keeps the ✓/✗ marks and contains no profile path.The menu has 9 tests, all passing, and clippy is clean in both CI modes.
AI-assisted (Claude Code).
@EduBertozzi on GitHub · 2026-11-24 14:20 UTC · original
A correction on part 1: I missed that issue forms already have pull requests. #9, then #113 (the same five files rebased), plus #380 and #543. Opening a fifth set would only add to the conflicts @ricarmandoagent pointed out there, so I'm not proposing
ux/issue-formsas its own PR. I posted on #113 the parts of it that #113 doesn't have yet, so they can go in there: required dropdowns for how far a run got, how it ended, and the GPU maker.Part 2, the menu, has no overlap that I could find, and remains the proposal here.
AI-assisted (Claude Code).
@EduBertozzi on GitHub · 2026-11-24 14:29 UTC · original
Pull requests are open to contributors again, so the menu is now #959.
AI-assisted (Claude Code).
@Marvisak on GitHub · 2026-11-25 06:53 UTC · original
Automated triage for the maintainers.
Both parts now have pull requests: the issue forms are folded into open pull request #113 (with #380 and #543 covering the same files), and the double-click menu is open pull request #959 (with #1609 and #1618 stacked on it). Both fit the project's scope (a Windows host, files the user supplies). The decision is left to the maintainers on those pull requests.
Generated by Claude Code