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

Closed
NATON4 wants to merge 1 commit from upstream-pr/1027 into main
NATON4 commented 2026-11-24 15:11:06 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by NATON4 on 2026-11-24T15:11:06Z.


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.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6584957280 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1027). Originally posted by [NATON4](https://github.com/NATON4) on 2026-11-24T15:11:06Z. --- `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.
Zipettte commented 2026-11-24 16:05:16 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Zipettte on 2026-11-24T15:40:09Z.


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).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7136413091 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1027#issuecomment-7136413091). Originally posted by [Zipettte](https://github.com/Zipettte) on 2026-11-24T15:40:09Z. --- 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)._
upstream-sync closed this pull request 2026-11-24 20:01:45 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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.

Reference
Marvisak/VIctory!1027
No description provided.