fix(libSceCdlgPlayerReview): transition to finished on dialog close #7478
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/7478"
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-18T08:59:46Z.
What
Transition
g_statustoCOMMON_DIALOG_STATUS_FINISHEDinscePlayerReviewDialogClosewhen called from an initialized or running dialog. PreviouslyscePlayerReviewDialogClosereturned 0 without updatingg_status, leaving it in the initialized state and preventing subsequentscePlayerReviewDialogGetResultcalls from retrieving the user canceled result. Also updateGuestPlayerReviewDialogto verify the state transition and result retrieval upon close.Tested
GuestPlayerReviewDialogpassing.python tools/check_conventions.py --base upstream/main.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-18T09:11:57Z.
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/GuestPlayerReviewDialog.cppImported from boykopovar/AnyPS5. Originally posted by wachi35676 on 2026-10-18T12:05:49Z.
Tested on Windows 11, WinLibs GCC 15.2.0 (MinGW), Release, this PR applied onto
main3e3e8b905.guest_player_review_dialogpasses. With only the test change onmain, it fails at the newGetStatus() == FINISHEDcheck (exit0xc0000409).On
main,scePlayerReviewDialogOpenalready moves to FINISHED, so this change only affectsCloseon a dialog that was initialized but never opened, which now reports a canceled result. The tree has two conventions for that case:sceMsgDialogClose.The same applies to #7479, #7398 and #7397. Is there a source or a title for choosing the second convention? If not, a line in each module's debt file saying it is unverified would help.
Minor: the description says MSVC, but BUILD.md lists only MinGW-w64 GCC 15.2.0 for Windows. Which toolchain was it?
AI-assisted: yes (Claude Code); results above were run on this machine.
Imported from boykopovar/AnyPS5. Originally posted by ErenYeager1836 on 2026-10-18T12:19:16Z.
Thanks for the feedback, @wachi35676! Added an entry in docs/dev/debt/libSceCdlgPlayerReview.md documenting that transitioning to FINISHED on Close before Open follows the Signin/NetCtlAp/PlayerSelection convention and is unverified on real hardware. Also, regarding the toolchain note: tests were run locally under MinGW-w64 GCC (WinLibs), matching BUILD.md.
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-19T22:21:21Z.
Checked the close transition and the test (it fails without the change, as @wachi35676 confirmed). Pushed one commit: the docs commit had rewritten
docs/dev/debt/libSceCdlgPlayerReview.mdwith a BOM and stripped the backticks from existing lines, so I restored the file from main and kept only the new line (under "Unknown function info", marked unverified). ctest for the touched libraries passes; merged.