Fix osu! logo suddenly disappearing during rapid exit #24424
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
master:
2023-07-30.19-06-14.mp4
this PR:
2023-07-30.19-06-45.mp4
That particular part regressed in #24208. tl;dr:
MainMenu
wasn't returning the proxy to game on exit. Note that reproduction requires that any screen underMainMenu
is navigated to; exiting fromMainMenu
itself will look fine.You might ask why this isn't a problem if you exit slowly, but only shows up when exiting quickly; I have no idea after several hours of staring at
ScreenStack
. I got about as far as determining that during a slow exit, main menu will only be expired, but during a fast exit, it will be expired and then removed from hierarchy entirely. I don't know why.I also don't know why this rotation doesn't play out all of the time. The kiai fountain PR didn't break that so I'm cutting my losses there. There's probably something that should be fixed in
ScreenStack
or in the weird logo arriving-suspending-exiting management flow but I'm attempting to be pragmatic here. If reviewers think that this PR is too much of a shortcut, then this can be closed I guess. Help debugging these complex systems would certainly be appreciated because I give up right now.