Closed Bug 1648282 Opened 4 years ago Closed 4 years ago

button with opacity has jumpy scrolling behavior

Categories

(Core :: Web Painting, defect, P3)

78 Branch
Desktop
All
defect

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox-esr68 --- wontfix
firefox-esr78 --- wontfix
firefox77 --- wontfix
firefox78 --- wontfix
firefox79 --- wontfix
firefox80 --- wontfix
firefox81 --- wontfix
firefox82 --- wontfix
firefox83 --- fixed

People

(Reporter: mark.bokil, Assigned: mikokm)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Attached image scroll-opacity-bug.png

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

Create a data grid with rows using display:flex. Place a button inside the grid with an opacity of 0.6. Scroll the DIV so it overflows. I was able to fix the problem by adding position:relative to my buttons. I prepared a test case for analysis. Another aspect to this bug is opening the inspector console appears to fix the jumpy scrolling. So test the bug first with all consoles closed. http://markbokil.com/private/cs-vue-data-grid-bug/

Actual results:

The scrolling is choppy and can cause elements in rows to visually overlap. The scrolling row elements appear to lag while scrolling.

Expected results:

Scrolling of the elements in the row should have been smooth

I can reproduce the issue on Nihjtly79.0a1(20200624215010) Windows10 if WebRender is disabled.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=358ec67834f6960938e60ced3018626f0d0cfd43&tochange=5417b73364be93e83abf43ec1993d4da78396a83

Status: UNCONFIRMED → NEW
Has Regression Range: --- → yes
Has STR: --- → yes
Component: Untriaged → Web Painting
Ever confirmed: true
Keywords: regression
OS: Unspecified → All
Product: Firefox → Core
Regressed by: 1434243
Hardware: Unspecified → Desktop

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

For more information, please visit auto_nag documentation.

Flags: needinfo?(matt.woodrow)
Severity: -- → S3
Flags: needinfo?(matt.woodrow) → needinfo?(mikokm)
Priority: -- → P3
Attached file 1648282.html
Flags: needinfo?(mikokm)
Assignee: nobody → mikokm
Status: NEW → ASSIGNED
Flags: in-testsuite+
Pushed by mikokm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/7de711320e1e
Create active layers for container items that have child items with different ASRs, similar to AGRs r=mstange

Backed out changeset 7de711320e1e (bug 1648282) for reftests/bugs/1648282-1 failures.

Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&selectedTaskRun=ZymNcvf5Q166p8KiFpxx9A.0&searchStr=linux%2C18.04%2Cx64%2Casan%2Copt%2Creftests%2Ctest-linux1804-64-asan%2Fopt-reftest-no-accel-e10s%2Cru8&tochange=c1469386234d8a60423e757624276c2bc1be97d1&fromchange=4b99cd59c105d2ef7947a7654f104d30994eab75

Backout link: https://hg.mozilla.org/integration/autoland/rev/c1469386234d8a60423e757624276c2bc1be97d1

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=318128906&repo=autoland&lineNumber=11880

[task 2020-10-09T03:05:10.111Z] 03:05:10     INFO - REFTEST TEST-START | layout/reftests/bugs/1648282-1a.html == layout/reftests/bugs/1648282-1-ref.html
[task 2020-10-09T03:05:10.111Z] 03:05:10     INFO - REFTEST TEST-LOAD | file:///builds/worker/workspace/build/tests/reftest/tests/layout/reftests/bugs/1648282-1a.html | 2054 / 2056 (99%)
[task 2020-10-09T03:05:10.183Z] 03:05:10     INFO - REFTEST TEST-LOAD | file:///builds/worker/workspace/build/tests/reftest/tests/layout/reftests/bugs/1648282-1-ref.html | 2054 / 2056 (99%)
[task 2020-10-09T03:05:10.261Z] 03:05:10     INFO - REFTEST INFO | REFTEST fuzzy test (0, 0) <= (1, 74664) <= (1, 70331)
[task 2020-10-09T03:05:10.504Z] 03:05:10     INFO - REFTEST TEST-UNEXPECTED-FAIL | layout/reftests/bugs/1648282-1a.html == layout/reftests/bugs/1648282-1-ref.html | image comparison, max difference: 1, number of differing pixels: 74664
[task 2020-10-09T03:05:10.504Z] 03:05:10     INFO - REFTEST   IMAGE 1 (TEST): data:image/png;base64,iVBORw0KGgoAAAANSUhEU....
[task 2020-10-09T03:05:10.504Z] 03:05:10     INFO - REFTEST   IMAGE 2 (REFERENCE): data:image/png;base64,iVBORw0KGgoAAAANSUhEU....
[task 2020-10-09T03:05:10.506Z] 03:05:10     INFO - REFTEST TEST-END | layout/reftests/bugs/1648282-1a.html == layout/reftests/bugs/1648282-1-ref.html
Flags: needinfo?(mikokm)

The failure was due to reftest requiring more fuzziness with basic compositor.

Flags: needinfo?(mikokm)
Pushed by mikokm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/65a85eec3a56
Create active layers for container items that have child items with different ASRs, similar to AGRs r=mstange

Seems that Windows 7 wants its own fuzziness too. I should have ran reftests on all platforms from the beginning.

Flags: needinfo?(mikokm)
Pushed by mikokm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/466c14dd254e
Create active layers for container items that have child items with different ASRs, similar to AGRs r=mstange
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: