macOS: Some article title text is intermittently rendered with parts shifted to the wrong position
Categories
(Core :: Graphics: WebRender, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox84 | --- | unaffected |
firefox85 | --- | unaffected |
firefox86 | + | verified |
People
(Reporter: cpeterson, Assigned: nical, NeedInfo)
References
(Blocks 2 open bugs, Regression, )
Details
(Keywords: correctness, regression)
Attachments
(6 files)
See the attached screenshot of https://godotengine.org/article/new-showcase-for-projects-made-with-godot
I first noticed this bug on 2020-12-20 and I've seen it about three times since then. The problem only seems to affected large text, like the H1 text of the article title ("Announcing the new showcase for projects made with Godot") on https://godotengine.org/article/new-showcase-for-projects-made-with-godot .
I suspect this is a SW-WR bug. I had to take this screenshot using the macOS screenshot tool because Firefox's screenshot tool rendered the text correctly.
I have my default page zoom at 110%, which might be related. When I see the bug, if I reduce the page zoom to 100%, then text is rendered correctly, IIRC. But I also think I've seen the bug when reloading an affected page at page zoom 100%.
Comment 1•3 years ago
•
|
||
So far I haven't been able to repro this on Debian Testing.
Updated•3 years ago
|
Reporter | ||
Comment 2•3 years ago
|
||
(In reply to Darkspirit from comment #1)
So far I haven't been able to repro this on Debian Testing.
I saw this bug on macOS with gfx.webrender.software = true. I'll try testing Windows.
Reporter | ||
Comment 3•3 years ago
|
||
I just tried testing Windows. My about:support says WebRender (Software D3D11)
. I wasn't able to reproduce the bug. However, the bug is intermittent, so perhaps Windows is affected and I was just not "lucky" enough to reproduce it.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 5•3 years ago
|
||
I wonder if Nical's texture cache work is causing this.
Reporter | ||
Comment 6•3 years ago
|
||
I also saw this bug on the H1 title text of this article ("From Balenciaga to Basics: Lessons from Our Pivot to API Tooling") in two different tabs:
Reporter | ||
Comment 7•3 years ago
|
||
Correction:
- I reproduced this bug without SW-WR (gfx.webrender.all = true and gfx.webrender.software = false).
- I reproduced this bug the body text of an article (specifically Pocket's Article View). See the attached body-screenshot.png.
Comment 8•3 years ago
•
|
||
(In reply to Chris Peterson [:cpeterson] from comment #0)
I first noticed this bug on 2020-12-20
bug 1679751 comment 16 landed in 20201217092748.
(Regression range is not proven, just assumed.)
Updated•3 years ago
|
Comment 9•3 years ago
•
|
||
I also see this sometimes on a late 2018 MacBook Pro with macOS 11.1 and WebRender (I don't use software WebRender) since a few days. So far I saw this on GitHub and in Cleverreach but it doesn't happen very often so it's really hard to reproduce.
Comment 10•3 years ago
|
||
I can reproduce this as well, with Hardware WebRender. It's ahrd to reproduce, but it happens fairly reliable after an hour or two of using the web for me. And once it starts, almost every page I open has some broken text on it, and it stays that way until I grudgingly reboot the browser.
:aosmond, you marked this as P3, but given this appears to be a recent regression that potentially affects a lot of users if their session is old enough, I feel like this might not be right. Could you reconsider that? :)
Comment 11•3 years ago
|
||
Yes, I agree, this should be fixed this cycle, or uplifted to beta. Originally it was just reported on SW-WR, which is not enabled on Mac, but if it affects HW-WR, it is more concerning.
Comment 15•3 years ago
|
||
I can reproduce this fairly easily on android by zooming on a text heavy page. Or on desktop on https://www.oneplus.com/uk/nord by moving the mouse over the animated menu items. Both of which would cause more texture cache allocation for new glyphs.
Comment 16•3 years ago
•
|
||
I can also replicate it reliably on the second part of Jamie's example page on macOS 10.14.6
Comment 18•3 years ago
|
||
Jamie, or Albert can you confirm the regression window?
Comment 20•3 years ago
|
||
[Tracking Requested - why for this release]: This is a noticeable visual regression that doesn't show up all of the time, but it seems to be fairly common given the large number of duplicate bugs filed.
Comment 21•3 years ago
|
||
This doesn't seems to be a MacOS only problem, it also happens to me on windows 10. Text glitches in this way sometimes randomly. Close and reopen the tabs fixed it sometimes.
Change the color fix it.
Change the font size also fix it.
Change the decoration also fix it.
But after you reverse these CSS style change, the corruption showed again.
It seems the font render cache or some sort like this corrupted in edge case and affect the graphic. (probably bad size calculation, bad font or something?)
Comment 22•3 years ago
|
||
Mozregression gave me this, confirming it is regressed by bug 1679751.
Note I had to test for a while before marking a commit as good, because it reproduces fairly easily most of the time but certainly not at will. So I wouldn't normally be 100% confident in the range. But given that we suspected this commit already and the dates match, it seems almost certain.
Comment 23•3 years ago
|
||
Tracking for 86. Nicolas, it seems your patches in bug 1679751 caused this regression.
Assignee | ||
Comment 24•3 years ago
|
||
Updated•3 years ago
|
Comment 25•3 years ago
|
||
Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0ebc6a1d8e51 Don't use the bucketed shelf allocator for glyphs. r=jrmuizel
Comment 26•3 years ago
|
||
Backed out for causing wrench failures.
Failure logs:
https://treeherder.mozilla.org/logviewer?job_id=325761330&repo=autoland
https://treeherder.mozilla.org/logviewer?job_id=325760551&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/fab947ad31b760b7c17ef58c3da0e2dfe496d44b
Assignee | ||
Comment 28•3 years ago
|
||
Adjustments required after texture packing changes.
Assignee | ||
Comment 29•3 years ago
|
||
This adds a fuzziness of two in wrench as we do with non-wrench reftests.
Comment 30•3 years ago
|
||
Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/be651eeda6d3 Don't use the bucketed shelf allocator for glyphs. r=jrmuizel https://hg.mozilla.org/integration/autoland/rev/df2921234c95 Make android wrench reftests fuzzy by default. r=jrmuizel https://hg.mozilla.org/integration/autoland/rev/9ecf9ce11807 Adjust reftest references. r=jrmuizel
Comment 31•3 years ago
|
||
Backed out for WebRender bustages.
Log: https://treeherder.mozilla.org/logviewer?job_id=326046645&repo=autoland&lineNumber=339
Backout: https://hg.mozilla.org/integration/autoland/rev/ef73153346d890ee181e8f6ccb062853de00a4da
Comment 32•3 years ago
|
||
Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3468a8fbd38f Don't use the bucketed shelf allocator for glyphs. r=jrmuizel https://hg.mozilla.org/integration/autoland/rev/53ce9813d599 Make android wrench reftests fuzzy by default. r=jrmuizel https://hg.mozilla.org/integration/autoland/rev/3084eaaad6fa Adjust reftest references. r=jrmuizel
Comment 34•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3468a8fbd38f
https://hg.mozilla.org/mozilla-central/rev/53ce9813d599
https://hg.mozilla.org/mozilla-central/rev/3084eaaad6fa
Assignee | ||
Comment 35•3 years ago
|
||
Chris, can you confirm that the bug doesn't happen anymore on the latest nightly?
Comment 36•3 years ago
|
||
I don't see it happening again in last few days.
Reporter | ||
Comment 37•3 years ago
|
||
(In reply to Nicolas Silva [:nical] from comment #35)
Chris, can you confirm that the bug doesn't happen anymore on the latest nightly?
I think this is fixed. Like Irvin, I haven't seen this bug over the last few days. I used to see it every day.
Description
•