Closed Bug 2002194 Opened 9 months ago Closed 1 month ago

`box-shadow` on hover with `transition` was awkward and jerky

Categories

(Core :: Graphics: WebRender, defect)

Desktop
All
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- wontfix
firefox-esr153 --- fixed
firefox145 --- wontfix
firefox146 --- wontfix
firefox147 --- wontfix
firefox153 --- fixed
firefox154 --- fixed
firefox155 --- fixed

People

(Reporter: alice0775, Assigned: gw)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: nightly-community, regression)

Attachments

(2 files)

When I test Bug 2001865 on windows11.
At least in the former case of https://bugzilla.mozilla.org/attachment.cgi?id=9528795, I found one regression range where the shadow transition was awkward and jerky.
https://hg-edge.mozilla.org/integration/autoland/pushloghtml?fromchange=b0db2e4d0cf239551ffb7387931818807d7b567a&tochange=81380415b3584bb66b648ece8ce4a569ab7d95c5

At the very least, it appears that the following patch is one of the causes that made this issue more apparent.
a7c479e0c45eb836fdef21f2c44b5ef387dcd505 Glenn Watson — Bug 1898625 - Pt 4 - remove snapping from box-shadow rect after spread + offset applied r=gfx-reviewers,aosmond

Attached file about:support

:gw, since you are the author of the regressor, bug 1898625, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(mozilla)
Attached video screencast

I see this on Linux (Ubuntu 25.04) as well, FWIW.

During the animation, the bottom edge of the shadow should be monotonically moving downwards, but instead it jumps/flickers backwards at various points, as shown in Alice0775 White's screencast.

OS: Windows 11 → All

This is somewhat expected, for now. As we go through and fix / improve various snapping related functionality it's likely to unmask other snapping bandaids that we'll need to fix as follow ups.

Assignee: nobody → mozilla
Flags: needinfo?(mozilla)

The severity field is not set for this bug.
:gw, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(mozilla)
Severity: -- → S3
Flags: needinfo?(mozilla)

This seems fixed for me on current nightly?

Flags: needinfo?(alice0775)

(In reply to Glenn Watson [:gw] from comment #7)

This seems fixed for me on current nightly?

Yes, it is ok on Nightly155.0 Windows11.

Fixed range:
https://hg-edge.mozilla.org/integration/autoland/pushloghtml?fromchange=5936467e838ae7972407f13b861ecaf2425f6c52&tochange=7529226c22904bba38f5b08607e0d522d9e14d06

It appears that this issue has also been fixed in Bug 2026399.

Flags: needinfo?(alice0775)
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → WORKSFORME
Depends on: 2057384
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: