fix(ui): paths on screen show the home folder as %USERPROFILE% on Windows, and tooltips hide it too #242
No reviewers
Labels
No labels
area/build
area/install
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!242
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/LongshotLauncher:shown-path-windows"
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?
On Windows the launcher showed paths with the account's name in them (
C:\Users\<name>\…), and on both systems the hover tooltips showed the raw path, so a screenshot or a shared screen could give away someone's name.ShownPath.Ofnow shows the home folder as%USERPROFILE%on Windows (%USERPROFILE%\Games\Longshot), as it already showed~on Linux. Case-insensitive; a drive's root is never taken for it.ShownPath.Typedreads%USERPROFILE%back, so the Settings boxes accept the path as shown, as they do~.ShownPath.Oftoo.WorkFullstays whole for the folder picker; the work folder's tooltip binds toWork.ShownPath.Ofeverywhere, so it is covered by the Windows change.No screenshots: the screenshot harness runs on Linux, where the text doesn't change.
Tests: the app builds with no warnings.
tests/test_launcher_core.pyfails at the "older v3.0.3 and an old release candidate" check, the same as onmainwithout this change. Tooling'stest_release.pyhas 3 failures about release tags and version bumps, which this change doesn't touch. Not tried on Windows.🤖 Generated with Claude Code
Possibly related, for context: