kieranmillar wrote:
Wow this is an odd bug.
The issue seems to be that when you lose focus and restore while the score checkpoint window is up, something prevents the cutscene from progressing properly.
...
Swapping focus and back again once the score checkpoint window is closed restores normal functionality.
EDIT: This is happening with Yes/No question dialogs inside cutscenes too.
Yep, this is all correct. Good sleuthing!
I think I've isolated the root cause: it's a regression in
this
PR. The new logic in CGameScreen::OnWindowEvent_GetFocus() sets dwTimeMinimized, which causes progression of the cut scene to hang.
The logic in CGameScreen::OnWindowEvent_GetFocus() and CGameScreen::OnWindowEvent_LoseFocus() appears to be backwards from the logic in CGameScreen::OnWindowEvent() just above them. (For instance, why pause sounds when we're getting focus back? I'm not sure how this worked before, and I think this same issue happens in 5.1.1 with a question dialog during a cutscene.)
Skell, can you confirm the logic in these events is backwards? I'm putting up a PR to flip them. That resolves this issue, but please let me know if I'm missing something.
____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
[Last edited by mrimer at 11-17-2020 11:02 PM]