Closed Bug 1759647 Opened 2 years ago Closed 2 years ago

White rectangles on Reuters after bug 1757259

Categories

(Core :: Graphics: WebRender, defect)

Firefox 100
defect

Tracking

()

VERIFIED FIXED
100 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox98 --- unaffected
firefox99 + verified
firefox100 --- verified

People

(Reporter: gregp, Assigned: gw)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Attached video reuters.mp4

Steps to reproduce:

Navigate to https://www.reuters.com/world/uk/my-life-will-always-be-devoted-service-uks-queen-elizabeth-says-2022-03-14/
Hover cursor over menu navigation items

Actual results:

White rectangles when transitioning

Expected results:

No white rectangles

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

Component: Untriaged → Graphics
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Has Regression Range: --- → yes
Has STR: --- → yes
Component: Graphics → Graphics: WebRender
Ever confirmed: true
Keywords: regression
Regressed by: 1757259

Set release status flags based on info from the regressing bug 1757259

:gw, since you are the author of the regressor, bug 1757259, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(gwatson)
Summary: White rectangles on Reuters after bug 1757876 → White rectangles on Reuters after bug 1757259
Assignee: nobody → gwatson
Flags: needinfo?(gwatson)

I can see what causes this - the segments can end up with an incorrect local space if the surface -> raster transform contains scale. Working on a fix for it (will involve changing how the regressing patch works to handle both these cases).

Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3bfcf747cccf
Fix segments on snapped picture surface with clips + scale transform r=gfx-reviewers,nical
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch

Also affects pinch zooming videos on twitter for example.

Should we uplift to beta/99?

Flags: needinfo?(gwatson)

Comment on attachment 9267986 [details]
Bug 1759647 - Fix segments on snapped picture surface with clips + scale transform

Beta/Release Uplift Approval Request

  • User impact if declined: Visual glitches on some pages
  • 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 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): Change has been in nightly for a few days without any reported issues. Relatively straightforward change.
  • String changes made/needed:
Flags: needinfo?(gwatson)
Attachment #9267986 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Yep, it should - it's been in nighly for a few days now and I haven't seen any regressions reported. I'm not sure if it will cleanly graft to beta, let me know if not and I'll provide a rebased patch.

QA Whiteboard: [qa-triaged]

:gw gfx/wr/webrender/src/batch.rs does not graft cleanly to beta.
Could you please provide a rebased patch?

Flags: needinfo?(gwatson)

Reproduced the initial issue on Firefox 99 beta 6 on Windows 10 x64.
Verified as fixed on the latest Nightly 100.0a1 on Windows 10x64 - there are no white rectangles when viewing the menu items.

This is a rebased patch on origin/bookbarks/beta of the unified repository.

Flags: needinfo?(gwatson)

(In reply to Donal Meehan [:dmeehan] from comment #12)

:gw gfx/wr/webrender/src/batch.rs does not graft cleanly to beta.
Could you please provide a rebased patch?

Attached a rebased patch, this should hopefully apply cleanly.

Comment on attachment 9267986 [details]
Bug 1759647 - Fix segments on snapped picture surface with clips + scale transform

Approved for 99.0b7. Thanks.

Attachment #9267986 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Verified as fixed on Firefox 99.0b7 on Windows 10 x64, Ubuntu 20.04 x64, and macOS Big Sur 11.6.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
Regressions: 1761460
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: