XGameUi: a Password text entry hides what is typed #1027
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1027"
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?
Imported from Marvisak/VIctory. Originally posted by NATON4 on 2026-11-24T15:11:06Z.
XGameUiShowTextEntryAsyncignored 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 getsES_PASSWORDfor 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_PASSWORDfor a password, not otherwise, and no other difference.Closes #881.
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-hlepasses, 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