Closed
Bug 1416921
Opened 8 years ago
Closed 8 years ago
Graphical corruption at https://blog.figma.com/new-faces-at-the-figma-helm-89a353200e6b
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla59
| Tracking | Status | |
|---|---|---|
| firefox-esr52 | --- | unaffected |
| firefox57 | --- | unaffected |
| firefox58 | --- | fixed |
| firefox59 | --- | fixed |
People
(Reporter: dholbert, Assigned: rhunt)
References
()
Details
(Keywords: regression, Whiteboard: [gfx-noted])
Attachments
(4 files)
STR:
1. Visit https://blog.figma.com/new-faces-at-the-figma-helm-89a353200e6b
2. Scroll down (with keyboard or mouse)
ACTUAL RESULTS:
On a decent fraction of pageloads (maybe around half), the page shows graphical corruption:
- duplicated/misplaced/partially-not-painted text
- chunks of the header image being painted behind text, in the wrong spots
EXPECTED RESULTS:
No such corruption.
| Reporter | ||
Comment 1•8 years ago
|
||
I believe this is a regression, but I've had a hard time coming up with a regression range since it's not 100% reproducible.
The oldest cset I've reproduced this in so far is https://hg.mozilla.org/mozilla-central/rev/092ccc6335a5 (which is a merge commit for this merge: https://hg.mozilla.org/mozilla-central/rev/092ccc6335a5 )
I'm initially suspicious that this may be a regression from bug 1399692 (and maybe even the same underlying cause as bug 1416873 which is also marked as a regression from that bug).
Also, possibly-related -- the header-graphic at this site is pretty large (2000px by 971px, https://cdn-images-1.medium.com/max/2000/1*b3l9VyjhwiASBiy1JHTxSQ.png ). I'm suspicious that this factor (large images) might be involved in triggering the bug here, given that part of the corruption sometimes looks like chunks of that image.
| Reporter | ||
Comment 2•8 years ago
|
||
I'm using latest Nightly 59.0a1 (2017-11-13) (64-bit) on Ubuntu 17.10 (linux), BTW.
rhunt, perhaps you could take a look? (particularly if this does turn out to be a regression from bug 1399692)
Flags: needinfo?(rhunt)
| Reporter | ||
Updated•8 years ago
|
Attachment #8928018 -
Attachment description: screenshot → screenshot 1 (poor-quality jpeg, sorry for jpeg artifacts)
| Reporter | ||
Comment 3•8 years ago
|
||
| Reporter | ||
Comment 4•8 years ago
|
||
The corruption is a little different every time I reproduce the bug (and it doesn't always happen, but I can usually make it happen by shift+reloading and then scrolling. Not sure if the shift-reload is necessary -- I just use shift for good measure).
Here's an interesting case -- in this verison, the bottom edges of many lines of text are "echoed". I'm guessing this was from us failing to invalidate the correct old-region when scrolling, or something like that.
These artifacts persisted even when I change tabs away & back.
| Assignee | ||
Comment 5•8 years ago
|
||
I'm able to reproduce some graphical corruption on this page, it definitely could be related to bug 1399692. I'll look into it further.
Flags: needinfo?(rhunt)
Updated•8 years ago
|
Whiteboard: [gfx-noted]
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 7•8 years ago
|
||
| Assignee | ||
Comment 8•8 years ago
|
||
Forgot to mention in the commit, this change also reverts the changes to manipulating the syncing of back buffer rect and rotation from FinalizeFrame to ContentClientDoubleBuffered::BeginPaint. This is to just completely revert to existing behavior, minus the OMTP parts.
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → rhunt
Comment 9•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8929977 [details]
Revert to using EnsureBackBufferIfFrontBuffer (bug 1416921, )
https://reviewboard.mozilla.org/r/201146/#review206360
This is a shame.
Attachment #8929977 -
Flags: review?(bas) → review+
Comment 10•8 years ago
|
||
Pushed by rhunt@eqrion.net:
https://hg.mozilla.org/integration/mozilla-inbound/rev/614d705be06c
Revert to using EnsureBackBufferIfFrontBuffer (bug 1416921, r=bas)
Comment 11•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/614d705be06c - landed 21 hours ago
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Updated•8 years ago
|
status-firefox-esr52:
--- → unaffected
| Assignee | ||
Comment 12•8 years ago
|
||
This should be uplifted, but after a forgotten line of code is added back.
Depends on: 1421871
| Assignee | ||
Comment 13•8 years ago
|
||
Comment on attachment 8929977 [details]
Revert to using EnsureBackBufferIfFrontBuffer (bug 1416921, )
Approval Request Comment
[Feature/Bug causing the regression]: An optimization in content client to be smarter about when to create a back buffer broke some implicit conditions in code. This bug backed out the optimization.
[User impact if declined]: User will see graphical regressions like in this bug
[Is this code covered by automated tests?]:
[Has the fix been verified in Nightly?]: Yes.
[Needs manual test from QE? If yes, steps to reproduce]: Not really, the steps in this bug can reproduce it.
[List of other uplifts needed for the feature/fix]: Uplift bug 1421871 after this bug.
[Is the change risky?]: Slightly
[Why is the change risky/not risky?]: This code is very sensitive to changes, but reverting to prior behavior is generally safe
[String changes made/needed]: None
Attachment #8929977 -
Flags: approval-mozilla-beta?
Comment 14•8 years ago
|
||
Comment on attachment 8929977 [details]
Revert to using EnsureBackBufferIfFrontBuffer (bug 1416921, )
Fix a graphical corruption issue. Beta58+.
Attachment #8929977 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 15•8 years ago
|
||
Updated•8 years ago
|
QA Whiteboard: [good first verify]
You need to log in
before you can comment on or make changes to this bug.
Description
•