Scrolling on is stuttery/janky




3 years ago
2 years ago


(Reporter: Ehsan, Unassigned)


(Depends on: 2 bugs, {perf})

48 Branch
Dependency tree / graph

Firefox Tracking Flags

(firefox48 wontfix, firefox49 wontfix, firefox50 wontfix, firefox51 wontfix, firefox52 wontfix, firefox53 affected)


(Whiteboard: [gfx-noted])



3 years ago
Safari seems to be able to do a much more smooth job at scrolling than we can.
Could you verify that the page is async-scrolling, for example by enabling paint flashing (nglayout.debug.paint_flashing) and verifying that the page isn't repainted on every scroll? If so, a profile would be helpful to understand the slowdown.

For me, testing on Linux, the page is async-scrolling, and my perception of the scrolling smoothness is fine (but I don't have Safari nearby to compare it to).
Keywords: perf
Whiteboard: [gfx-noted]
With paintflashing I see the background of the page (and many other parts) continuously repainting all the time, even if I'm not scrolling. OS X aurora build from March 17.
status-firefox48: --- → affected
Version: unspecified → 48 Branch
It's probably eating CPU unnecessarily as well.
Keywords: power
Actually I'll file a new bug for the infinite painting, and mark this dependent on that. There might be more going on here, best to keep the issues separate.
Keywords: power
The infinite painting, combined with slow texture upload, are what's causing the stuttery scrolling. Texture upload happens on the compositor thread and blocks composition.
Trying to make sure all jank buga have "jank" in the summary.
Summary: Scrolling on is stuttery → Scrolling on is stuttery/janky
status-firefox48: affected → wontfix
status-firefox49: --- → affected
status-firefox50: --- → affected
Depends on: 1261166
OS: Unspecified → Mac OS X
Priority: -- → P3
status-firefox49: affected → wontfix
status-firefox50: affected → fix-optional
status-firefox51: --- → affected
status-firefox50: fix-optional → wontfix
status-firefox51: affected → wontfix
status-firefox52: --- → wontfix
status-firefox53: --- → affected
You need to log in before you can comment on or make changes to this bug.