Open Bug 1739622 Opened 3 years ago Updated 1 years ago

The PIP window will only resize to smaller size in Linux / Wayland

Categories

(Core :: Widget: Gtk, defect, P3)

Desktop
Linux
defect

Tracking

()

Tracking Status
firefox-esr91 --- disabled
firefox-esr102 --- disabled
firefox96 --- disabled
firefox97 --- disabled
firefox98 --- disabled
firefox111 --- disabled
firefox112 --- disabled
firefox113 --- disabled

People

(Reporter: danibodea, Unassigned)

References

(Blocks 3 open bugs)

Details

(Whiteboard: [fidefe-MR1-2022])

Attachments

(1 file)

Note

  • When the user opens the browser with wayland window protocol, loads a youtube video and clicks the "Watch in Picture-in-Picture" button and then grabs the vertical or horizontal margins (not the corners) and attempts to enlarge it, he will notice that the PIP window won't resize.

Affected versions

  • Nightly v96.0a1

Affected platforms

  • Ubuntu 21 + wayland

Steps to reproduce

  1. Launch browser with wayland window manager:
    a. Go into the nightly folder.
    b. Right-click and "Open in Terminal".
    c. MOZ_ENABLE_WAYLAND=1
    d. ./firefox
  2. Load https://www.youtube.com/watch?v=SXr8Rb97nIk
  3. Click the "Watch in Picture-in-Picture" button.
  4. Grab a vertical or horizontal margin and enlarge the PIP window.

Expected result

  • The PIP frame is resized correctly.

Actual result

  • The PIP video is not being resized as expected.

Regression range

  • unknown.

Additional notes

  • This issue occurs with "wayland" Window Protocol and not with "xwayland".

Yes, I can reproduce it. We may rework the PIP on Wayland a bit. The PIP is missing shadows and can be only downsized. To enlarge you need to use corners.

Priority: -- → P3
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Whiteboard: [fidefe-MR1-2022]

This is still reproductible. Martin, it looks like the Atlassian ticket is inaccessible to me, can you share if there has been updates there?

Flags: needinfo?(stransky)
Summary: The PIP window won't properly resize in wayland (linux) → The PIP window will only resize to smaller size in Linux / Wayland

(In reply to Alexandre LISSY :gerard-majax from comment #4)

This is still reproductible. Martin, it looks like the Atlassian ticket is inaccessible to me, can you share if there has been updates there?

I don't have access to it. Tested latest nightly and the PIP window can be resized by sides, not just corners.

Flags: needinfo?(stransky)
Status: REOPENED → RESOLVED
Closed: 3 years ago2 years ago
Resolution: --- → WORKSFORME

I do repro the issue on my ubuntu system.

Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---

I can reproduce it too. I wonder why it worked before.

It is possible to increase the size a few pixels at a time by alternating between the horizontal and vertical edges, it stops when the other dimension needs to grow. Single-edge resizing worked before the aspect ratio lock (Bug 1583737) but it just added letterboxing instead of making the other dimension grow.

Blocks: 1583737
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: