Closed Bug 1827618 Opened 2 years ago Closed 1 year ago

Picture-in-Picture window has no decorations with mwm

Categories

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

Firefox 112
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: naddy, Unassigned)

References

(Regression)

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:109.0) Gecko/20100101 Firefox/112.0

Steps to reproduce:

On an X11 desktop using the Motif Window Manager (mwm), play a YouTube video with Firefox 112 and use a Picture-in-Picture window.

Actual results:

The PiP window has no window decorations, e.g. no titlebar. As a result it cannot be moved or resized.

Expected results:

Up to and including Firefox 111, the PiP had normal window decorations.

The Bugbug bot thinks this bug should belong to the 'Toolkit::Picture-in-Picture' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Picture-in-Picture
Product: Firefox → Toolkit

Hmm. There was briefly a change in 112 beta (bug 1823350) that might have caused something like this, but that was backed out prior to 112 leaving beta, so I don't think I have any ideas. Emilio, do you know of anything that might have happened here?

Flags: needinfo?(emilio)

Possibly bug 1794577? Is there any chance you could run mozregression so we know what broke it in your setup? Though PiP windows were intended to always be undecorated...

$ pip install --user mozregression
$ mozregression --good 111 --bad 112 -a https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4

Should allow you to find the offending commit in hopefully not more than 10 mins or so :)

Flags: needinfo?(emilio) → needinfo?(naddy)

I'm not on Linux and can't run pre-built nightlies, so mozregression is a nonstarter.

Flags: needinfo?(naddy)
Severity: -- → S3
Priority: -- → P3

I can now confirm that the problem was introduced by this commit:

Bug 1794577 - Clear decorations from PiP window earlier during creation.
https://hg.mozilla.org/mozilla-central/rev/bcea4f6871b4

It has become clear that the lack of window decorations for the PiP window is intentional. That much is already obvious from the code changes. The PiP window also has its own resizing controls. And I'm told that with some window managers it is also possible to move it. I do not understand this confusing design decision, but it is what it is.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.