Drop shadow gets cut off
Categories
(Core :: Graphics: WebRender, defect, P2)
Tracking
()
People
(Reporter: agnijith, Assigned: gw)
References
(Blocks 1 open bug, )
Details
(Keywords: regression, regressionwindow-wanted)
Attachments
(6 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0
Steps to reproduce:
- Go to https://solid-js-lesson.web.app
- Set the "Drop shadow" slider to maximum
- Fiddle with any of the other sliders
Actual results:
The drop shadow gets cut off intermittently (this happens on both desktop and mobile versions of Firefox)
Expected results:
The drop shadow should be always visible and should not get cut off
Comment 2•1 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Graphics: WebRender' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 3•1 years ago
|
||
Confirmed on Windows
Regression range :
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=ce95c4cba5d390edd55e0cdb81868aae0c113813&tochange=b38ec693c7137e172a11ad21d0fdd12eb3f9bd75
Suspects : bug 1758168 , bug 1757876
Updated•1 years ago
|
(In reply to FlameWolf from comment #0)
Created attachment 9337401 [details]
drop-shadow-error-02.pngUser Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0
Steps to reproduce:
- Go to https://solid-js-lesson.web.app
- Set the "Drop shadow" slider to maximum
- Fiddle with any of the other sliders
Actual results:
The drop shadow gets cut off intermittently (this happens on both desktop and mobile versions of Firefox)
Expected results:
The drop shadow should be always visible and should not get cut off
The URL has changed to https://css-filters.web.app.
Comment 5•1 years ago
|
||
I only lose the drop shadow when I run Inversion
up to 100% (which I guess is not unexpected). All other sliders maintain the drop shadow for me. Tested in Fx113.0.2 (Release) with SW/WR, and Fx115.0a1 (Nightly) with acceleration.
Can we get your about:config
output attached to this report, please?
Comment 6•1 years ago
|
||
Assignee | ||
Updated•1 years ago
|
Updated•1 years ago
|
(In reply to Bob Hood [:bhood] from comment #5)
I only lose the drop shadow when I run
Inversion
up to 100% (which I guess is not unexpected). All other sliders maintain the drop shadow for me. Tested in Fx113.0.2 (Release) with SW/WR, and Fx115.0a1 (Nightly) with acceleration.Can we get your
about:config
output attached to this report, please?
Done.
Comment 9•1 years ago
|
||
This bug has been marked as a regression. Setting status flag for Nightly to affected
.
Updated•1 year ago
|
Comment 10•1 year ago
|
||
:gw have you determined the regressor on this? See Comment 3, looks like it was introduced in Fx100.
Do you plan on taking a look soon, wondering if we can expect something in time for Fx115
Assignee | ||
Comment 11•1 year ago
|
||
I won't be able to look at this in time for 115.
Updated•1 year ago
|
Comment 12•1 year ago
|
||
Comment 13•1 year ago
|
||
I can easily reproduce this on latest Nightly 117.0a1 on Ubuntu 23.04 with a clean profile with SW-WR and HW-WR. It seems to be more extreme and reproducible at certain window sizes or after resizing, if you don't see it, try reducing the window size.
Assignee | ||
Comment 14•1 year ago
|
||
I can also reproduce locally. It looks like an invalidation issue where the slider elements are being invalidated and redrawn, but without the drop-shadow. On my machine, setting gfx.webrender.debug.force-picture-invalidation
to true works around the bug, which seems to confirm it's an invalidation problem. Is anyone else able to confirm if that pref also works around it for them (not a usable workaround, just to confirm where the bug exists).
Assignee | ||
Comment 15•1 year ago
|
||
A minimal repro case:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
div {
position: absolute;
}
@keyframes spin {
from {
transform: rotate(0turn);
}
to {
transform: rotate(1turn);
}
}
#anim {
animation: spin 500ms;
animation-timing-function: linear;
animation-iteration-count: infinite;
width: 30px;
height: 30px;
top: 100px;
left: 600px;
background: red;
}
#content {
width: 500px;
height: 300px;
background: blue;
filter: drop-shadow(0 0 50px #000);
}
</style>
</head>
<body>
<div id="content"></div>
<div id="anim"></div>
</body>
</html>
Comment 16•1 year ago
|
||
(In reply to Glenn Watson [:gw] from comment #14)
I can also reproduce locally. It looks like an invalidation issue where the slider elements are being invalidated and redrawn, but without the drop-shadow. On my machine, setting
gfx.webrender.debug.force-picture-invalidation
to true works around the bug, which seems to confirm it's an invalidation problem. Is anyone else able to confirm if that pref also works around it for them (not a usable workaround, just to confirm where the bug exists).
Confirmed that setting gfx.webrender.debug.force-picture-invalidation` to true fixes this bug. It also appears to fix bug 1772176 (and probably some other bugs too like bug 1840010 etc.)
Assignee | ||
Comment 17•1 year ago
|
||
There is still a remaining issue in some cases with the color of
the drop-shadow when moving the slider, but this seems to be a
different problem. This patch fixes the main issue.
Updated•1 year ago
|
Comment 18•1 year ago
|
||
Comment 19•1 year ago
|
||
(In reply to Pulsebot from comment #18)
Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/414eae13279f
Fix drop-shadow not invalidating correctly. r=gfx-reviewers,lsalzman
Using this build (https://hg.mozilla.org/integration/autoland/rev/414eae13279f765f368f3b3df2802a75ba957426) , the minimal repro of comment#15 is not 100% fixed.
Please see the attached video.
Comment 20•1 year ago
|
||
Comment 21•1 year ago
|
||
bugherder |
Comment 22•1 year ago
|
||
The patch landed in nightly and beta is affected.
:gw, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox116
towontfix
.
For more information, please visit BugBot documentation.
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Description
•