fix(menu): the version shows as players know it: v3.0.0-rc.1, Nightly 46 · 434712bb #170
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/upscaling
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
testing wanted
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!170
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:fix/version-text"
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?
Why
The start-up screen and the F1 menu show Longshot's versions wrong: a release candidate as "v3.0.0 dev" (
version_texttook-rc.1for git describe's commits since the tag) and a nightly as its raw name "nightly-46-434712bb (source …)", which looks like an unofficial build.What changed
gpu/vk/vk_progress.hversion_text: a release as its tag (v3.0.0,v3.0.0-rc.1); a nightly as the launcher names it, "Nightly 46 ·434712bb"; a build between tags (v3.0.0-rc.1-5-gabc1234-dirty) as its tag and "dev"; anything else as it is. The source fingerprint is dropped.gpu/vk/vk_menu.cpp: the F1 banner shows "Longshot " +version_text, as the start-up screen does; it no longer needs to cut the fingerprint to fit. The log's first line, the bug report and the pipeline share keep the whole name (LONGSHOT_VERSION), so reports still name the exact build.tests/test_startup_progress.py: each form above;tests/test_menu_size.py: the banner usesversion_text.Flags and settings
None
Measurements
main:
b78b5df4(2026-11-13)this PR: fix/version-text @
5e7bba6cb78b5df45e7bba6cv3.0.0-rc.1 (source …)nightly-46-434712bb (source …)434712bb" on bothv3.0.0-rc.1-5-gabc1234-dirtyv3.0.0tests/run_all.py: 500 passed, 2 failed (test_bake_portability, test_builder_log_read_only, which also fail on main).Testing
Tested:
tests/test_startup_progress.py(version_text, compiled),tests/test_menu_size.py,tests/test_pipeline_share.py,tests/run_all.py.Not tested: in the game (the menu's font already draws "·", vk_menu.cpp's teleport line uses it).
Needs other testers: None
Screenshots
Not taken: text only, the rows above say what shows.
Risk and rollback
Display only; the log and reports keep the whole name. Reverting the commit is enough.
Checklist
For everyone
type(scope): description).main.python -I -B tests/run_all.pyrun and passing (any failure that also fails onmainis named above).third_party/untouched (a new folder with aPROVENANCE.mdinstead).434712bb