[Estuary] Reset timer as long as the osd is shown #23476
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.
Description
This fixes another misbehaviour that I've found while using the topbar overlay of estuary. The timer is started on window load however this dialog is completely tied to the OSD dialog. It is shown when doing seeks, pause, etc but is also shown whenever the OSD is displayed with stuff like muted, the clearart, the title, etc. This means that the timer might elapse as long as the OSD is visible for a couple of seconds. If you pause the video in the video OSD (using the controls) and close the dialog the topbar overlay will be shown forever.
Motivation and context
Some day we'll have 0 bugs... :)
How has this been tested?
Same as before, pausing, rewinding, seeking, etc. Checking the dialog is shown and closed after the elapsed time
What is the effect on users?
Fixes the regression with the topbaroverlay being displayed after a pause in the video OSD.
Screenshots (if appropriate):
Types of change