fix(libSceLoginDialog): transition to finished on dialog close #7398
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/7398"
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 boykopovar/AnyPS5. Originally posted by ErenYeager1836 on 2026-10-18T04:39:46Z.
What
Transitions dialog status to
COMMON_DIALOG_STATUS_FINISHEDinsceLoginDialogClose.Matches the behavior in
libSceSigninDialogandlibSceNetCtlApDialog, allowing caller code to observe completion after explicit close requests.Tested
python tools/check_conventions.py --base upstream/mainpasses cleanly.guest_login_dialogunit test suite passes locally with CTest (100% tests passed out of 1).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-18T04:48:43Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)docs/dev/debt/libSceLoginDialog.mdL5Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/libs/tests/GuestLoginDialog.cppImported from boykopovar/AnyPS5. Originally posted by wachi35676 on 2026-10-18T12:05:54Z.
Tested on Windows 11, WinLibs GCC 15.2.0 (MinGW), Release, this PR applied onto
main3e3e8b905:guest_login_dialogpasses, and fails onmainwith only the test change (exit0xc0000409).The same question as on #7478 applies here.
Openalready finishes at once, so the only case that changes isClosewith noOpenbefore it. For that case MsgDialog.native, SaveDataDialog.native and ErrorDialog return NOT_RUNNING or INVALID_STATE, following shadPS4'ssceMsgDialogClose. Please cite a source, or note the choice as unverified in the module's debt entry.AI-assisted: yes (Claude Code); results above were run on this machine.
Imported from boykopovar/AnyPS5. Originally posted by ErenYeager1836 on 2026-10-18T12:20:45Z.
Thanks for the review, @wachi35676! Added a note in docs/dev/debt/libSceLoginDialog.md documenting that transitioning to FINISHED on Close before Open follows the Signin/NetCtlAp/PlayerSelection convention and remains unverified on real hardware. Testing was verified under MinGW-w64 GCC (WinLibs).
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-19T19:40:29Z.
Checked
sceLoginDialogCloseagainst KytyPS5'sLoginDialogClose(same: NOT_INITIALIZED when idle, otherwise FINISHED) and the new test (fails on main, pins status and result). Confirmed by @wachi35676 on Windows/MinGW. Added a commit removing the BOM the PR put at the start ofdocs/dev/debt/libSceLoginDialog.md; merged.