Picture in Picture should have a black background
Categories
(Toolkit :: Video/Audio Controls, defect, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: sdk, Assigned: dennisschagt)
References
Details
(Keywords: nightly-community)
Attachments
(3 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0
Steps to reproduce:
- Play a video in your browser
- Toggle on the Picture-in-Picture mode
Actual results:
On a system running a tiling window manager (e.g. i3wm or bspwm), a new window for PiP is opened in tiled mode. This means the window doesn't necessarily has the same dimension as the video inside it. The space not covered by the video is currently white.
Expected results:
The space not covered by the video should be black (e.g. like in VLC when the video dimension is different than the VLC window). This would reduce eyes strain.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
bug 1553835 already covers using a floating instead of tiling window in those circumstances. That seems like the appropriate solution here.
Reporter | ||
Comment 2•5 years ago
|
||
(In reply to :Gijs (he/him) from comment #1)
bug 1553835 already covers using a floating instead of tiling window in those circumstances. That seems like the appropriate solution here.
I'm reopening the issue for now because:
In my use case, I want to use it in tiled mode to avoid the window to overlap other windows. Most of the time, I split my screen like 2/3 for browsing the Web and 1/3 for the PiP window.
Reporter | ||
Updated•5 years ago
|
Comment hidden (obsolete) |
Comment 4•5 years ago
|
||
Hey sdk,
Out of curiosity, what do other browsers like Chrome and Opera do with their Picture-in-Picture player windows on tiled display managers?
Updated•5 years ago
|
Reporter | ||
Comment 5•5 years ago
|
||
(In reply to Mike Conley (:mconley) (:⚙️) from comment #4)
Out of curiosity, what do other browsers like Chrome and Opera do with their Picture-in-Picture player windows on tiled display managers?
Chrome use a black background. I guess it's the same for Opera since it's based on Chromium.
(In reply to Jan Andre Ikenmeyer [:darkspirit] from comment #3)
(IMHO) I don't think PiP is intended to be that large. If you want it that large, simply use YouTube in a second Firefox window. Or open https://www.youtube.com/embed/frzqXaaE62k to have the video even larger (in case embedding is allowed).
There's a performance hit in using a second window vs. PiP (200mb vs. 40mb with Youtube). Also, with PiP I get rid of the layout around the video. Some websites don't have a "Theater mode" à la Youtube.
This bug is still valid, in GNOME the PIP window is opened and is resizable through dragging the sides of the window (see attached screenshot).
Assignee | ||
Comment 7•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0676d719ecf8 Use black background for Picture-in-Picture window r=mconley
Assignee | ||
Updated•5 years ago
|
Comment 9•5 years ago
|
||
The bug should be closed by the tree sheriffs when the patch lands to central.
Comment 10•5 years ago
|
||
bugherder |
Description
•