Youtube video will overlap video controls if the resolution is switched to 144p while in default or theater view mode
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | unaffected |
firefox79 | --- | unaffected |
firefox80 | --- | unaffected |
firefox81 | + | verified |
firefox82 | + | verified |
People
(Reporter: tbabos, Assigned: gw)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details |
Affected platforms:
MacOS 10.13/10.14
Not reproducible on Windows
Affected versions:
Latest Nightly 81 (2020-08-18)
Steps to reproduce:
- Launch Firefox
- Go to youtube.com and click on any suggested video (in default view mode or theater)
- Change the video resolution to 144p
Expected:
Video controls should be visible at all times.
Actual:
Video controls will be overlapped by the video itself but are still functional behind it. Recording: https://streamable.com/du6q20
Regression-Range:
Mozregression revealed Bug 1653409 to be the regressor.
2020-08-18T19:29:25.072000: DEBUG : Found commit message:
Bug 1653409 - Set ImageBitmap's picture rect using the picture rect of layers::Image, not the size. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D85356
Note:
This issue permanently affects the default/theater view on youtube.
Restarting the browser or refreshing the page does not restore the visibility of the media controls on the videos
Full-Screen view mode is not affected.
Severity Suggestion:
Due to the reasons from "notes" would suggest S2 severity since it permanently breaks the default/theater view on Youtube if the user will switch to 144p resolution on a firefox profile.
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Looks like the order of the native layers is wrong. Maybe WR is making a mistake when calculating whether the video and video controls overlap?
Reporter | ||
Comment 2•4 years ago
|
||
If Webrender is force-disabled, this issue can no longer be reproduced. Also, it fixes FX profiles which already got affected by this issue.
Comment 3•4 years ago
|
||
Also ni? Glenn in case it is something in the picture caching layerization heuristics. I can't reproduce this on linux, I suspect it is only happening with native OS surfaces.
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
This patch fixes a regression introduced when support was added
for transforms with native OS compositor surfaces.
We need to store both the true device rect and also the pre-transform
device rect for the external surface descriptor. The true device
rect is used for overlap detection to order compositor surfaces
correctly, while the pre-transform rect is sent to the native OS
compositor, since the transform is applied at that level.
Comment 6•4 years ago
|
||
bugherder |
Reporter | ||
Comment 7•4 years ago
|
||
Verified-fixed on latest Nightly 82.0a1 (2020-08-24) on MacOS 10.13/10.14/10.15. Waiting for Uplift to Fx81.
Comment 8•4 years ago
|
||
AFAIK, WR is disabled by default on macOS so I don't think we need to uplift this. Feel free to correct me if that's wrong.
Comment 10•4 years ago
|
||
This is reproducible on Windows, see duplicate bug 1659747.
Comment 11•4 years ago
|
||
Thanks for pointing that out. Glenn, please nominate this for Beta uplift when you get a chance.
Assignee | ||
Comment 12•4 years ago
|
||
Comment on attachment 9171103 [details]
Bug 1659764 - Fix compositor surface overlap with native compositors.
Beta/Release Uplift Approval Request
- User impact if declined: Artifacts when playing video at low quality + WR enabled.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: Per comments in bug report.
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Small patch, affects WR path only, only affects video so unlikely to cause regressions elsewhere.
- String changes made/needed:
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 13•4 years ago
|
||
Comment on attachment 9171103 [details]
Bug 1659764 - Fix compositor surface overlap with native compositors.
approved for 81.0b3
Comment 14•4 years ago
|
||
bugherder uplift |
Comment 15•4 years ago
|
||
This is verified fixed using Firefox 81.0b3 (BuildId:20200827203325) on macOS 10.14
Description
•