Video in fullscreen windowed mode scales the video image incorrectly
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| thunderbird_esr91 | --- | unaffected |
| firefox-esr91 | --- | unaffected |
| firefox94 | --- | unaffected |
| firefox95 | --- | unaffected |
| firefox96 | --- | verified |
| firefox97 | --- | verified |
People
(Reporter: bradwerth, Assigned: bradwerth)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
|
Details | Review |
Steps to Reproduce:
- View a YouTube video such as https://www.youtube.com/watch?v=aqz-KE-bpKQ.
- Start the movie playing, then pause it.
- Click the fullscreen window widget in the window toolbar (the round green button in the upper left).
Expected Results:
The window expands to fill the screen, and the video is sized correctly in its frame.
Actual Results:
The window expands, but the video is scaled as if it is also filling the screen.
Comment 1•4 years ago
|
||
Updated•4 years ago
|
| Assignee | ||
Comment 2•4 years ago
|
||
The problem here is that the NativeLayerCA::SetRootWindowIsFullscreen call triggers the conditions that allow an OnlyVideo update, which simultaneously isn't picking up the fact that the video layer size has changed. The fix will be ensuring that the change to the video layer size is properly noted in a mutation bit.
| Assignee | ||
Comment 3•4 years ago
|
||
Most of the time, layer mutations that recreate layers also set their size.
A fullscreen transition can create a layer mutation without setting the size
mutation bit. This change ensures that newly-created layers are always sized.
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 5•4 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 7•4 years ago
•
|
||
Comment on attachment 9253321 [details]
Bug 1743474: Make NativeLayerCA set size and scale when recreating layers.
Beta/Release Uplift Approval Request
- User impact if declined: macOS users viewing video and then transitioning to fullscreen will have improperly scaled video.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This is a minimal correctness change that has very little possibility of causing new issues to appear.
- String changes made/needed:
Comment 8•4 years ago
|
||
| bugherder uplift | ||
Comment 9•4 years ago
|
||
Comment on attachment 9253321 [details]
Bug 1743474: Make NativeLayerCA set size and scale when recreating layers.
Approved for 96.0b5
Updated•4 years ago
|
Updated•4 years ago
|
Comment 10•4 years ago
|
||
I was able to reproduce the issue on Mac 10.13 using NB 96.0a1(29-11-2021).
Verified as fixed on Mac 10.13 using NB 97.0a1(20211215091158) and Beta 96.0b5(20211214203716).
Updated•4 years ago
|
Description
•