sw-wr: non-native radio buttons on wiki.mozilla.org have white vertical and horizontal seams
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: cpeterson, Assigned: lsalzman)
References
(Blocks 1 open bug, Regression, )
Details
(Keywords: regression)
Attachments
(3 files)
33.87 KB,
image/jpeg
|
Details | |
410 bytes,
text/html
|
Details | |
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
Steps to reproduce
- Set
gfx.webrender.software
= true andwidget.non-native-theme.enabled
= true (which is already the default in 88 Nightly) and restart Nightly. - Load https://wiki.mozilla.org/index.php?title=Main_Page&action=history. You don't need a wiki account.
- Look at the radio buttons in the "Compare selected revisions" list.
Expected result
The radio buttons should not have any seams.
Actual result
The radio buttons on wiki.mozilla.org have white vertical and horizontal seams. See the attached screenshot.
Curiously, the radio buttons on Wikipedia don't have the seams. Perhaps wiki.mozilla.org styles its radio buttons differently?
https://en.wikipedia.org/w/index.php?title=Mozilla&action=history
Reporter | ||
Comment 1•3 years ago
|
||
Harry, I believe your fix for Proton bug 1696469 caused this radio button bug when using Software WebRender. I bisected this regression to the following pushlog:
Comment 2•3 years ago
|
||
That seems like a very unlikely regression range. I came up with a range which included https://hg.mozilla.org/mozilla-central/rev/2d0e67c944f238704125182f0c7006895a39bd86, which sounds about right.
We use borders to render circles, like we do for list bullets (via this code). It seems only SW-WR has issues with them, at some zoom levels. This probably affects other web content too, so while it can be worked around by setting widget.non-native-theme.webrender=false
, we should probably get it fixed in sw-wr.
Comment 3•3 years ago
|
||
a webcontent test case for this would be helpful.
Comment 4•3 years ago
|
||
This shows the issue for me at some zoom levels. A bit less pronounced than in the radio control case though.
Updated•3 years ago
|
Reporter | ||
Comment 5•3 years ago
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #2)
That seems like a very unlikely regression range. I came up with a range which included https://hg.mozilla.org/mozilla-central/rev/2d0e67c944f238704125182f0c7006895a39bd86, which sounds about right.
Thanks. In that case, I will clear the needinfo for Harry.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
Sometimes we sample slightly outside the tile repeat boundaries due to rounding
or anti-aliasing, which may cause potential sampling artifacts along primitive
edges. This adds supports for enforcing tile repeat limits as we otherwise do
in the brush_image shader to prevent such artifacts.
Updated•3 years ago
|
Pushed by lsalzman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d90ccb089550 Support tile repeat limits in SWGL. r=jrmuizel
Comment 8•3 years ago
|
||
bugherder |
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Comment 9•3 years ago
|
||
Would it be possible to land a test for this?
Comment 10•3 years ago
|
||
nvm, I see that's covered by the comment in Phabricator
Assignee | ||
Comment 12•3 years ago
|
||
Comment on attachment 9212792 [details]
Bug 1700206 - Support tile repeat limits in SWGL. r?jrmuizel
Beta/Release Uplift Approval Request
- User impact if declined: Visual artifacts on SW-WR with non-native theming, and possibly on web content with repeating backgrounds.
- 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 change only affects SW-WR rollout in 88, and should only impact this particular corner-case.
- String changes made/needed:
Comment 13•3 years ago
|
||
Comment on attachment 9212792 [details]
Bug 1700206 - Support tile repeat limits in SWGL. r?jrmuizel
Approved for 88.0b7.
Comment 14•3 years ago
|
||
bugherder uplift |
Updated•3 years ago
|
Description
•