Picture-in-picture walks up the screen when changing resolution
Categories
(Toolkit :: Video/Audio Controls, defect)
Tracking
()
People
(Reporter: braiamp, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
Put a video (past broadcast or live) from a streamer in picture-in-picture in the lower right corner. After a while I notice that it's not in the same place.
Actual results:
The screen starts creeping up to the center of the screen.
Expected results:
It should stay put.
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Hi, braiamp!
Thanks for your contribution!
I couldn't reproduce the described behavior in:
Ubuntu 16.04 LTS (32-bit)
Firefox 78
Firefox 80.0b5
Firefox Nightly 81.0a1
I've opened 1 live stream and a past broadcast on two different windows and leave it for several hours but couldn't reach your described behavior, even after suspending the OS.
Please let us know if this issue is reproduced in the latest Nightly edition. You can download it from here: https://nightly.mozilla.org/
If you still have the issue please create a new profile, you have the steps here: https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles?redirectlocale=en-US&redirectslug=Managing-profiles#w_starting-the-profile-manager
support.mozilla.orgsupport.mozilla.org
Once you have all this information, please let us know so we can continue investigating.
Regards,
(In reply to Seba S. from comment #2)
Hi, braiamp!
Thanks for your contribution!
I couldn't reproduce the described behavior in:
Ubuntu 16.04 LTS (32-bit)
Firefox 78
Firefox 80.0b5
Firefox Nightly 81.0a1I've opened 1 live stream and a past broadcast on two different windows and leave it for several hours but couldn't reach your described behavior, even after suspending the OS.
Please let us know if this issue is reproduced in the latest Nightly edition. You can download it from here: https://nightly.mozilla.org/
If you still have the issue please create a new profile, you have the steps here: https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles?redirectlocale=en-US&redirectslug=Managing-profiles#w_starting-the-profile-manager
support.mozilla.orgsupport.mozilla.orgOnce you have all this information, please let us know so we can continue investigating.
Regards,
Reproduced with Nightly. For better reproducibility, induce unreliable or slow internet connection. I used 3G Good throttling in the Network tab of the dev tools, 2x speed and 1080p for source quality.
Comment 4•5 years ago
|
||
The actual player window starts climbing up the window? How bizarre. Would it be possible for you to post a screen recording of this so we can observe it? Also, what can you tell us about your Linux setup? Specifically, which distribution?
Uploaded to Youtube. I'm using Debian testing, with Firefox coming from the unstable repository (testing only have ESR), and Xfce.
Comment 6•5 years ago
|
||
Wow! That's really strange. I wonder if the video is briefly changing video dimensions, and then back again? Are you able to reproduce this reliably with any stream on Twitch?
:mconley at least 3. What do you mean by "changing video dimensions"? Resolution? If so, I think I've managed to reproduce it when Twitch is fixed at 1080p60 rather than Auto.
Comment 8•4 years ago
|
||
What do you mean by "changing video dimensions"?
When a video is resized, we resize the player window to suit, and there's some code in there that recomputes the positioning of the player window after the resize. If you're reproducing this locked at a particular set of video dimensions though, then this is likely not it.
Can you give us the URL of some of the Twitch videos that you've reproduced this on? For reproducibility, it would be most helpful if the URLs are for recordings on Twitch as opposed to links to the livestreams of streamers.
Going Auto; 2x and Good 3G throttle reliably reproduce it. https://www.twitch.tv/videos/710467031
Comment 10•4 years ago
|
||
Passing the needinfo back to Mike for when he's back; I'm not sure how to further investigate this myself.
Comment 11•4 years ago
|
||
Hey Seba, does throttling the network connection help you reproduce the issue?
Comment 12•4 years ago
|
||
We could NOT reproduce it on several different systems with Ubuntu 18 and 20 With Latest Nightly, Beta and ESR. There must be something different to the reporter's system.
Hey, braiamp!
- Does this issue still reproduce on your system?
- Does it reproduce on a newly created profile or in safe-mode?
(https://support.mozilla.org/en-US/kb/troubleshoot-extensions-themes-to-fix-problems) - Also, Can you explain what exactly you mean by "Firefox coming from and unstable repository (testing only have ESR), and Xfce" from comment 5?
Thank you for your contribution!
Updated•4 years ago
|
Comment 13•4 years ago
|
||
We have not heard from braiamp in over two weeks in response to the needinfo in comment 12, so we're going to close this bug out as INCOMPLETE.
Comment 14•4 years ago
|
||
Re-opening this because I saw this post on Reddit: https://www.reddit.com/r/firefox/comments/kfkxno/picture_in_picture_now_saves_size_and_position/
This might be related to non-default scaling factors on the OS.
Comment 15•4 years ago
|
||
The reporter on Reddit filed their bug and is more active than this bug's reporter so I will close this bug as a duplicate. Note also that the new bug is for Windows whereas this bug is about Linux so it doesn't appear tied to the OS.
Reporter | ||
Comment 16•4 years ago
|
||
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #15)
The reporter on Reddit filed their bug and is more active than this bug's reporter so I will close this bug as a duplicate. Note also that the new bug is for Windows whereas this bug is about Linux so it doesn't appear tied to the OS.
*** This bug has been marked as a duplicate of bug 1683366 ***
The reason why I don't respond is because I don't get what I'm being asked, because I already responded those questions, except for the "Debian doesn't allow non-ESR on Debian testing because they can't get them on stable". This isn't relevant to the problem, just Debian policy https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817954 which I believed to be important to note such that Debian stable shouldn't be used as benchmark (through considering that there have been 4 months since then, I'm pretty sure Debian stable version of Firefox has the same issue).
The issue was reproducible on my system using Nighly at the time which by default creates a new profile, it answered question 1 and 2. Nothing changed on Firefox code base that would suggest otherwise at the time. Also, yes, still reproducible now.
The bug also has a video showing the issue and a write up on how to reproduce it:
- Go to a Twitch video past broadcast (or live) on Firefox. (A new video because last one was deleted https://www.twitch.tv/videos/825909566)
- Use PnP and move to the right lower corner.
- If using "auto", induce unreliable or slow internet connection. Or change resolution in the Settings.
- Watch as it crawls through the screen up and left.
I have a multiple monitor setup right now, but at the time of reporting I didn't. Also, it doesn't seem to care where the PnP window is with respect to the video source. To prevent this issue, selecting a static video resolution help.
Comment 17•4 years ago
|
||
Thank you for the reply and I'm sorry for misjudging your activity and responsiveness.
I am able to reproduce this issue on Windows with a 115% DPI and have commented to the like on bug 1683366. I don't believe the issue is related to network speed or multiple monitors and is a rounding error when we calculate the window position for the PiP screen. These rounding errors are more pronounced at some non-integer DPI scales as compared to others.
Reporter | ||
Comment 18•4 years ago
|
||
I came back to this bug, trying to reproduce it elsewhere, like Youtube. I was able to do reproduce it just by manipulating the resolution quality on the menu manually. Sometimes moving up the resolution it would not do it. Being persistent doing it help. The manipulation of internet speed via console tools if you wait enough for the dynamic resolution change kicks in.
Description
•