Open Bug 1588806 Opened 6 years ago Updated 1 year ago

Picture-in-picture window should always be on visible workspace

Categories

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

69 Branch
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: jonkoops, Unassigned)

Details

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

Steps to reproduce:

  1. Open any video in picture-in-picture mode
  2. Move to a different workspace

This issue can be reproduced using GNOME 3 on Wayland.

Actual results:

The video remains in the workspace it was originally in, switching between workspaces does not take the window with it.

Expected results:

The window containing the video should be in every workspace.

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

This is relevant to macOS as well.

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:74.0) Gecko/20100101 Firefox/74.0

Steps to reproduce:

  1. Open firefox on main desktop
  2. Browse to youtube, start PiP
  3. Open any other app that supports fullscreen (e.g. Mail)
  4. Make second app fullscreen

PiP does not appear on second workspace (where Mail is fullscreen)

  1. Switch back to Firefox on main desktop

PiP appears on main desktop

Compare with Safari, where PiP window stays visible across desktops

On a side-note with this bug, I would also expect that the PiP window does not take focus when switching between workspaces.

Blink-based browsers already has this behavior in i3 at the very least.

Can confirm the issue on GNOME 4. Hitting alt+space when the PiP window is in focus opens a context menu, where "Always on Top" is correctly checked, but not "Always on Visible Workspace".

Possibly helpful info:

  • In the Looking Glass debugger (Press alt+f2, type 'lg', then return. Navigate to the "Windows" tab), this property is named 'on_all_workspaces'.
  • wmctrl calls these windows "sticky".

(In reply to jonkoops from comment #3)

On a side-note with this bug, I would also expect that the PiP window does not take focus when switching between workspaces.

GNOME focuses the most recently in-focus window when switching workspaces. This is incredibly confusing with "Always on Top" windows and in dual-monitor setups setup such that only the primary monitor switches workspace.

Severity: normal → S3
Component: Video/Audio Controls → Picture-in-Picture
You need to log in before you can comment on or make changes to this bug.