XGameUi: mask password text entry input #2067
No reviewers
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!2067
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2067/head"
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?
@fuzeofficlal on GitHub · 2026-11-25 04:20 UTC · original
fuzeofficlal:fix/hle-xgameui-password-mask-881→main· +93 −8 · 1 files · 1 commits · merged 2026-11-25 21:54 UTCCloses #881.
Summary
scope == PASSWORD(31) fromtext_entry_asyncinto the host text-entry dialog and addES_PASSWORDto theEDITcontrol style indialog::edit_styleso password prompts mask typed characters.Testing
xgameui::tests::password_scope_masks_the_edit_controlverifyingES_PASSWORDstyle selection and0x88vtable dispatch across plain, URL, andPASSWORDinput scopes.cargo test -p victory-hle --locked,cargo clippy --workspace --all-targets --all-features -- -D warnings, andcargo xtask policy.@jeremygold02 on GitHub · 2026-11-25 04:23 UTC · original
Triage verdict — Keep as the current implementation of #881 (
cf0edf0)Evidence
ES_PASSWORD. #1027 closed without merging. #370 covered the length limit and is already inmain. This branch preserves that limit and adds vtable-level checks for plain, URL, and Password scopes. Current patch · Earlier patchChecks and limits
Next step
This verification was AI-assisted.
@Marvisak on GitHub · 2026-11-25 10:24 UTC · original
Automated triage for the maintainers.
Looks mergeable. In
victory-hle/src/modules/xgameui.rs,text_entry_asyncnow passesscope == PASSWORD(the constant already in main, used bymax_length_for) down todialog::ask. A newdialog::edit_stylethen addsES_PASSWORDto the edit control, so password prompts are masked. The length limit and cancel behaviour are unchanged. The new test checks the style bits and that the scope is routed through the 0x88 slot for plain, URL and password scopes. CI is passing.Generated by Claude Code