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 seek bar thumbnail overflowing when exiting full screen #5929

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

absidue
Copy link
Member

@absidue absidue commented Oct 24, 2024

Fix seek bar thumbnail overflowing when exiting full screen

Pull Request Type

  • Bugfix

Related issue

Description

This pull request fixes the thumbnail container causing the UI to overflow after exiting full screen if the user was hovering over the end of the seek bar. This happens because full screen is usually much larger than the size of the window outside of full screen, so the position of the seek bar thumbnail goes from being inside the viewport to outside of it, which results in a horizontal scroll bar showing up to compensate for it overflowing.

Screenshots

See linked thread for a video demonstrating the bug

Testing

  1. Open a video
  2. Resize the window so that the recommended videos section is below the player
  3. Enter full screen via the keyboard shortcut by pressing f
  4. Hover over the end of the seek bar
  5. Exit full screen via the keyboard shortcut by pressing f
  6. There should be no horizontal scroll bar

Desktop

  • OS: Windows
  • OS Version: 10
  • FreeTube version: f6e7344

@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Oct 24, 2024
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) October 24, 2024 15:15
Copy link
Collaborator

@kommunarr kommunarr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can still replicate the issue with Full Window and the S shortcut.

question: Is disabling horizontal scrolling on the main app container an acceptable solution?

@efb4f5ff-1298-471a-8973-3d47447115dc

Fullscreen is fixed

I can still replicate the issue with Full Window and the S shortcut.

This isnt

PikachuEXE
PikachuEXE previously approved these changes Oct 24, 2024
@FreeTubeBot FreeTubeBot merged commit 527eeda into FreeTubeApp:development Oct 25, 2024
5 checks passed
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Oct 25, 2024
@absidue absidue deleted the thumbnail-overflow branch October 25, 2024 13:18
Soham456 pushed a commit to Soham456/FreeTube that referenced this pull request Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants