New issue
Advanced search Search tips

Issue 895754 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

PiP window is hidden when Chrome is in fullscreen mode

Project Member Reported by fbeaufort@chromium.org, Oct 16

Issue description

Chrome Version       : 71.0.3575.1
OS Version: 11150.0.0

What steps will reproduce the problem?
1. [Tab 1] Go to https://googlechrome.github.io/samples/picture-in-picture/
2. [Tab 1] Play video in Picture-in-Picture
3. [Tab 2] Open new tab at https://googlechrome.github.io/samples/picture-in-picture/
4. [Tab 2] Play video in Fullscreen 

What is the expected result?
Video from Tab 1 should stay always on top.

What happens instead of that?
Video from Tab 1 is hidden.
 
Cc: -mlamo...@google.com liber...@chromium.org foolip@chromium.org mlamouri@chromium.org
How do we show the fullscreen video? The Picture-in-Picture window is marked as always on top at an OS level but is the fullscreen content marked as something that will always be on top of it still?
I'm afraid I don't know if this was a deliberate choice or why it happens. Perhaps the same OS-level mechanism is used for both and the last one ends up winning?

Comment 3 Deleted

FYI I've tried opening fullscreen first and pip WIndow second (on a second attached screen) but it doesn't change anything: Fullscreen is always on top of PiP.

Note that PiP and Fullscreen work well together with Safari browser. See image attached.
Screen Shot 2018-10-17 at 10.29.46 AM.png
3.4 MB View Download
Cc: osh...@chromium.org steimel@chromium.org minch@chromium.org
Not sure about Mac, but on ChromeOS it seems like Chrome PIP is correctly in the always on top container normally, but when a fullscreen window is activated, it disables always on top for any other windows. It doesn't put the fullscreen window into the always on top container, however. 
Labels: OS-Linux
This is currently intended behavior for always on top windows on ChromeOS at least. That is,
always on top windows are demoted to non always on top while fullscreen window is active.

This was implemented to avoid having always on top windows while fullscreen video.

I'm not sure about other platforms though. My guess is that they have simliar logic to always on top windows,
and safari does something special?


Chaniging this behavior for PIP on ChromeOS shouldn't be hard. I'd suggest to file a separate bug for ChromeOS, and we (edcourtney@ :) can work on it.


Owner: steimel@chromium.org
Status: Assigned (was: Unconfirmed)
triage
Labels: -Pri-1 Pri-3

Sign in to add a comment