Closed Bug 1821015 Opened 3 years ago Closed 3 years ago

Picture-in-Picture mode is stuck at fullscreen on another monitor.

Categories

(Toolkit :: Picture-in-Picture, defect)

Firefox 111
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: firshee, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0

Steps to reproduce:

Previously I've been using Picture-in-Picture mode on the left of my 3 monitors, I deliberately placed it as fullscreen by double clicking. It was Twitch. After the stream broke, I refreshed the tab and put the now-working video to PiP again. This went back to that monitor how it was, which I guess is okay.

Actual results:

But now it's stuck there meaning I can't double click to resize it from fullscreen. I can close it or go "back to tab" yes, but after triggering PiP mode again, it just goes back there as full screen with no way of moving it to any other monitor. Even if I close the tab and reopen it or navigate to a different streamer, or even to a different site (YouTube) the PiP keeps behaving the same way. The only way I can fix it is to open a second PiP, which releases all of them to be movable again. (Yes I frequently use multiple PiPs and it's one of the reasons why I use Firefox.)

If that helps my main monitor is scaled 4K (larger dpi % in Windows), while the others are unscaled Full HD. There is often a glitch in certain software when moving from one monitor to the other, but it's often resolved in a few seconds.

Expected results:

I expect it to be resized to a small PiP window or moved across other monitors.

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Component: DOM: Core & HTML → Picture-in-Picture
Product: Core → Toolkit

Hi firshee,

If you go to about:config in the address bar, click past the warning, and then search for media.videocontrols.picture-in-picture.improved-video-controls.enabled, you can double-click that setting to set it to true. If you do that, and PiP a Twitch video, do you see a button that lets you escape fullscreen mode? If so, does doing so put you back into a good state?

Flags: needinfo?(firshee)

Pressing the Escape key should also exit full screen mode, does that work?

Severity: -- → S3

(In reply to Mike Conley (:mconley) (:⚙️) from comment #2)

Hi firshee,

If you go to about:config in the address bar, click past the warning, and then search for media.videocontrols.picture-in-picture.improved-video-controls.enabled, you can double-click that setting to set it to true. If you do that, and PiP a Twitch video, do you see a button that lets you escape fullscreen mode? If so, does doing so put you back into a good state?

I'm still trying to have it break again, but it's dependent on the video stream breaking first. I guess when ads come in that should happen, but I haven't experienced it in a while. I switched that in the about:config.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(firshee)
Resolution: --- → WORKSFORME

I see that PiP is being constantly improved and the bug hasn't surfaced me for weeks, must have been a fringe occasion back then.

You need to log in before you can comment on or make changes to this bug.