Skip to content

fix(libSceCdlgG2P): transition to finished on dialog close - #7404

Merged
adriadam10 merged 1 commit into
boykopovar:mainfrom
ErenYeager1836:fix/cdlg-g2p-close-status
Oct 19, 2026
Merged

adriadam10 merged 1 commit into
boykopovar:mainfrom
ErenYeager1836:fix/cdlg-g2p-close-status

Conversation

@ErenYeager1836

Copy link
Copy Markdown
Contributor

What

Transitions dialog status to COMMON_DIALOG_STATUS_FINISHED in sceG2PDialogClose.

Matches the behavior in libSceSigninDialog and libSceNetCtlApDialog, allowing caller code to observe completion after explicit close requests.

Tested

  • python tools/check_conventions.py --base upstream/main passes cleanly.
  • guest_g2p_dialog unit test suite passes locally with CTest (100% tests passed out of 1).

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: G2PDialog close lifecycle
  • GPUs tested: n/a
  • AI-assisted: yes

Transition dialog status to finished in sceG2PDialogClose, matching the behavior in libSceSigninDialog, and add unit test coverage in GuestG2PDialog.
@MarcZX10

Copy link
Copy Markdown
Contributor

Thanks for submitting the G2P lifecycle fix. My #7399 initially included the same G2P change; I have now removed that part and narrowed #7399 to the separate VR Setup close lifecycle. This PR is the sole G2P implementation from my side.

@github-actions

Copy link
Copy Markdown

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.

Pull request Shared files not compared
PR 6044 core/libs/tests/GuestG2PDialog.cpp

@ErenYeager1836

Copy link
Copy Markdown
Contributor Author

Thanks for coordinating and letting me know, @MarcZX100! Much appreciated.

@github-actions github-actions Bot added the prx label Oct 18, 2026
@adriadam10 adriadam10 self-assigned this Oct 19, 2026
@adriadam10
adriadam10 merged commit b7fc3d3 into boykopovar:main Oct 19, 2026
10 checks passed
@adriadam10

Copy link
Copy Markdown
Collaborator

Checked against sceSigninDialogClose / sceNetCtlApDialogClose (same status transition), and the new test only passes with the change (Close leaves INITIALIZED otherwise, so GetResult returns NOT_FINISHED); merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants