Open Bug 1597060 Opened 5 years ago Updated 2 years ago

[Linux] When picture in picture is active, new windows appear beneath Firefox's main window

Categories

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

Unspecified
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: s.1, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0

Steps to reproduce:

  1. Watch a video on Firefox
  2. Pop it out using the Picture in Picture feature

Actual results:

New windows that I open open beneath the main Firefox window.

I provided a screen recording to demonstrate how the Terminal as an example, shows up properly if Picture in Picture is not in use but as soon as I enable it, the Terminal then opens beneath and I have to focus on the window manually.

Expected results:

It should open normally, over the main Firefox window.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Video/Audio Controls
Product: Firefox → Toolkit

Any idea why this might be happening, Martin?

Blocks: 1532675
Flags: needinfo?(stransky)
OS: Unspecified → Linux
Priority: -- → P3

I noticed that Firefox's picture-in-picture uses a "normal" sub-window that is just set to be always on top as opposed to a proper "palette" style window which is permanently floating. Which is why on Windows 10, the picture-in-picture shows up on the taskbar as a separate entry whereas it should not show up there at all for a proper PiP implementation

I don't quite understand what's wrong here, at least from the screencast...the PIP is always on top, terminal opens as active with focus...are you sure you attached a correct video or do I miss something?
Thanks.

Flags: needinfo?(stransky) → needinfo?(s.1)

Ah I think I see it now - do you mean that the first terminal launch opens a terminal window behind main Firefox window?

(In reply to Martin Stránský [:stransky] from comment #5)

Ah I think I see it now - do you mean that the first terminal launch opens a terminal window behind main Firefox window?

Yeah, but it's not just the Terminal, other applications do too.

Flags: needinfo?(s.1)

It looks like a Elementary OS/ Pantheon / LightDM specific bug. I can't reproduce it on Gnome and there's not reason the new application window is opened behind the Firefox one.

No longer blocks: 1532675
Summary: When picture in picture is active, new windows appear beneath Firefox's main window → [Linux] When picture in picture is active, new windows appear beneath Firefox's main window
Component: Video/Audio Controls → Picture-in-Picture
Version: 70 Branch → Trunk
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: