fix(libSceNpAuthAuthorizedAppDialog): transition to finished on dialog close #7397
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/7397"
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:37:32Z.
What
Transitions dialog status to
COMMON_DIALOG_STATUS_FINISHEDinsceNpAuthAuthorizedAppDialogClose.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_np_auth_authorized_app_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:42Z.
Some 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/GuestNpAuthAuthorizedAppDialog.cppImported from boykopovar/AnyPS5. Originally posted by wachi35676 on 2026-10-18T12:05:56Z.
Tested on Windows 11, WinLibs GCC 15.2.0 (MinGW), Release, this PR applied onto
main3e3e8b905:guest_np_auth_authorized_app_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:21:28Z.
Thanks for the review, @wachi35676! Added a note in docs/dev/debt/libSceNpAuthAuthorizedAppDialog.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:37:36Z.
Checked against
sceSigninDialogCloseandsceNetCtlApDialogClose(same transition); the new test pins FINISHED and the result afterCloseand fails without the change. The second commit added a BOM to the debt file and rewrote the existing entry; I restored that line and kept the new Close note, which now also says MsgDialog/SaveDataDialog/ErrorDialog return an error for Close without Open (unverified for this module). Rebased, scoped ctest green; merged.