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

Fix video OSD not fully hiding #5653

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

dmitrylyzo
Copy link
Contributor

@dmitrylyzo dmitrylyzo commented Jun 3, 2024

Sometimes (maybe in some browsers) onHideAnimationComplete is called on btnPause, and the event listener is disconnecting because it was connected with once: true.

As a result, the hide class is not added to the OSD element, allowing the user to interact with transparent elements.

Changes
Don't connect listener with once: true.

Issues
Fixes #5647
Fixes #5650
Fixes #5652
Closes #5595
Closes #5651

@dmitrylyzo dmitrylyzo added bug Something isn't working ui & ux This PR or issue mainly concerns UI & UX labels Jun 3, 2024
@dmitrylyzo dmitrylyzo requested a review from a team as a code owner June 3, 2024 12:38
@dmitrylyzo dmitrylyzo added this to the v10.9.4 milestone Jun 3, 2024
@dmitrylyzo dmitrylyzo changed the title Fix video OSD not hiding Fix video OSD not fully hiding Jun 3, 2024
Sometimes (maybe in some browsers) onHideAnimationComplete
is called on btnPause, and the event listener is disconnecting
because it was connected with "once: true".

As a result, the `hide` class is not added to the OSD element,
allowing the user to interact with transparent elements.

Don't connect listener with "once: true".
Copy link

sonarcloud bot commented Jun 3, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@thornbill thornbill modified the milestones: v10.9.4, v10.9.5 Jun 3, 2024
@thornbill thornbill added the stable backport Backport into the next stable release label Jun 4, 2024
@thornbill thornbill merged commit 74a3bd8 into jellyfin:release-10.9.z Jun 4, 2024
11 checks passed
@dmitrylyzo dmitrylyzo deleted the fix-videoosd-hide branch June 5, 2024 12:10
joshuaboniface pushed a commit that referenced this pull request Jun 5, 2024
Fix video OSD not fully hiding

Original-merge: 74a3bd8

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
@jellyfin-bot jellyfin-bot removed the stable backport Backport into the next stable release label Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ui & ux This PR or issue mainly concerns UI & UX
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants