Open Bug 1644701 Opened 5 years ago Updated 4 years ago

Resizing to small PIP changes aspect ratio to square, cannot change when re-enlarging

Categories

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

Unspecified
macOS
defect

Tracking

()

People

(Reporter: marc, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

Attachments

(7 files)

Using the video on the What's New page, I opened the video in PIP which works great!

I then played around with the sizing. I reduced the size of the PIP to the smallest it can go - it changes the aspect ratio from the source's (16:9) to a square which had bars top and bottom. When increasing the size it keeps the square aspect ratio and does not revert back to aspect ratio of the source.

Attached image Original Aspect Ratio
Attached image Reduced Size AR
Attached image Resized AR

I can't reproduce this on Windows, it sounds like it is Mac-only. @Marc, could you run mozregression to see when this bug was introduced. See https://mozilla.github.io/mozregression/ for more information.

Blocks: videopip
Flags: needinfo?(marc)
Priority: -- → P5
Severity: -- → S4
Component: Video/Audio Controls → Picture-in-Picture
Version: 77 Branch → Trunk

TL;DR - this only happens intermittently, but impacts portrait-orientation videos more severely.

STR (please see screenshots):

  1. Find a portrait-orientation video, e.g.,
  2. Scale it to a min size - > it becomes a horizontal orientation video, 136 px in width (black bars are added on the sides).
  3. Scale the video up to a larger size.

AR
The video remains in horizontal orientation until the PiP window is closed.
Upon closing and reopening PiP, the video will return to the expected portrait orientation (see screenshots).

ER
Portrait-orientation video always preserves its orientation, regardless of the scale.

Attached image 3 - pip min size.png
Attached image 4 - pip scale up.png
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: