XGameUi: a Password text entry hides what is typed #1027

Closed
github-bot wants to merge 1 commit from gh-pr/1027/head into gh-pr/1027/base
Owner

@⁠NATON4 on GitHub · 2026-11-24 15:11 UTC · original
hle/password-entry → main · +42 −10 · 1 files · 1 commits · closed without merging

XGameUiShowTextEntryAsync ignored its input scope, so an entry asking for a password (XGameUiTextEntryInputScope::Password, 31) showed the typed characters in clear. The scope now reaches the host dialog, whose edit box gets ES_PASSWORD for a password; every other scope gets the same box as before. The scope is also logged with the entry.

The new test checks the edit box's style: ES_PASSWORD for a password, not otherwise, and no other difference.

Closes #881.

**@⁠NATON4** on GitHub · 2026-11-24 15:11 UTC · [original](https://github.com/Marvisak/VIctory/pull/1027) `hle/password-entry` → `main` · +42 −10 · 1 files · 1 commits · closed without merging `XGameUiShowTextEntryAsync` ignored its input scope, so an entry asking for a password (`XGameUiTextEntryInputScope::Password`, 31) showed the typed characters in clear. The scope now reaches the host dialog, whose edit box gets `ES_PASSWORD` for a password; every other scope gets the same box as before. The scope is also logged with the entry. The new test checks the edit box's style: `ES_PASSWORD` for a password, not otherwise, and no other difference. Closes #881.
`XGameUiShowTextEntryAsync` ignored its input scope, so an entry asking for
a password (`XGameUiTextEntryInputScope::Password`, 31) showed the typed
characters in clear. The scope now reaches the host dialog, whose edit box
gets `ES_PASSWORD` for a password; every other scope gets the same box as
before. The scope is also logged with the entry.

The new test checks the edit box's style: `ES_PASSWORD` for a password,
not otherwise, and no other difference.

Closes #881.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:17:35 +00:00
github-bot closed this pull request 2026-11-26 04:17:35 +00:00
Author
Owner

@⁠Zipettte on GitHub · 2026-11-24 15:40 UTC · original

Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at ffd03d3: cargo test -p victory-hle passes, 96 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).

Tested with AI assistance (Claude).

**@⁠Zipettte** on GitHub · 2026-11-24 15:40 UTC · [original](https://github.com/Marvisak/VIctory/pull/1027#issuecomment-7136413091) Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at ffd03d3: `cargo test -p victory-hle` passes, 96 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed). _Tested with AI assistance (Claude)._

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!1027
No description provided.