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

[Bug]: Video is shifted and cropped when pausing in full screen after controls disappear #4983

Open
6 tasks done
Damus765 opened this issue Apr 19, 2024 · 2 comments · May be fixed by #4978
Open
6 tasks done

[Bug]: Video is shifted and cropped when pausing in full screen after controls disappear #4983

Damus765 opened this issue Apr 19, 2024 · 2 comments · May be fixed by #4978
Labels
B: visual bug Something isn't working
Projects

Comments

@Damus765
Copy link

Guidelines

  • I have encountered this bug in the latest release of FreeTube.
  • I have encountered this bug in the official downloads of FreeTube.
  • I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
  • I have searched the documentation for information that matches the description of the bug I want to file, without success.
  • This issue contains only one bug.

Describe the bug

  1. Play any video in FreeTube.
  2. Click on the "Fullscreen" button or double-click on the player to go full screen.
  3. Don't move the pointer and wait for the controls and overlay to disappear.
  4. Click on the player (without moving the pointer) or press the space bar on your keyboard to pause the video.
  5. The video is shifted down by 60px, and the bottom 60px are cropped.
  6. When playback resumes, the video returns to its original position

I don't know if this is related, but my screen resolution is 1920*1200, with a scaling factor of 125%.
I tried to take a screen capture, to have a video of the issue. But interestingly, while the capture is running I am unable to reproduce the issue. So I just took a screenshot, which is attached below.
This may be a video.js bug, but I never experienced this behavior anywhere else.

Expected Behavior

The video should remain at the same position and dimension during playback and pause.

Issue Labels

visual bug

FreeTube Version

v0.20.0

Operating System Version

Windows 11 version 23H2

Installation Method

.exe

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

v0.19.2

Additional Information

Video playing:
Video_playing

Video paused:
Video_paused

Nightly Build

@Damus765 Damus765 added the bug Something isn't working label Apr 19, 2024
@FreeTubeBot FreeTubeBot added this to To assign in Bug Reports Apr 19, 2024
@efb4f5ff-1298-471a-8973-3d47447115dc

Im unable to reproduce this on Win10

@Damus765
Copy link
Author

I tried to find a solution for this issue, but to no avail so far. The only thing I can tell is that it seems to be related to my screen resolution of 1920x1200. If I switch to 1920x1080, I can't reproduce it anymore.

But anyway, this is most likely a video.js bug. If I try with the Shaka Player, the issue is not there anymore.
So we may close this when #4978 is merged.

@jasonhenriquez jasonhenriquez linked a pull request May 11, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B: visual bug Something isn't working
Projects
Bug Reports
To assign
Development

Successfully merging a pull request may close this issue.

2 participants