Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Estuary] Reset timer as long as the osd is shown #23476

Merged
merged 1 commit into from Jul 4, 2023

Conversation

enen92
Copy link
Member

@enen92 enen92 commented Jul 4, 2023

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

  • Bug fix (non-breaking change which fixes an issue)
  • Clean up (non-breaking change which removes non-working, unmaintained functionality)
  • Improvement (non-breaking change which improves existing functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that will cause existing functionality to change)
  • Cosmetic change (non-breaking change that doesn't touch code)
  • None of the above (please explain below)

@enen92 enen92 added Type: Fix non-breaking change which fixes an issue Component: Skin v21 Omega labels Jul 4, 2023
@enen92 enen92 added this to the Omega 21.0 Alpha 3 milestone Jul 4, 2023
@enen92
Copy link
Member Author

enen92 commented Jul 4, 2023

Merging myself since this is a simple change on the timer definition (skin/estuary only). I'll track possible regressions as usual.

@enen92 enen92 merged commit 90e7b21 into xbmc:master Jul 4, 2023
1 check passed
@CrystalP
Copy link
Contributor

CrystalP commented Jul 5, 2023

I tried to runtime test but did not understand the problem well enough (the "whenever the OSD is displayed with stuff like muted, the clearart, the title, etc." part) and didn't see anything wrong in master.
Could you give a more detailed example?

@enen92
Copy link
Member Author

enen92 commented Jul 5, 2023

@CrystalP sure thing, here you can find a video screencast of the bug:

https://youtu.be/ombVQ5n14xM

And here the behaviour on current master now:

https://youtu.be/2CSTfsOEj94

Found while using my tv remote to control kodi, I usually forget there's a bultin button for pause and I just pause it from the OSD :)

@CrystalP
Copy link
Contributor

CrystalP commented Jul 5, 2023

Found a combination that triggers it and no remote needed. play > enter (OSD appears when pause button highlighted) > enter (play pauses) > escape (OSD disappears, the top bar remains)

And it's cured by the PR. Good job!

@enen92
Copy link
Member Author

enen92 commented Jul 5, 2023

That's exactly the issue this PR fixes (and illustrated in the videos of the last comment) :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Skin Type: Fix non-breaking change which fixes an issue v21 Omega
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants