Content lags behind dynamic toolbar when scrolling toolbar away

RESOLVED INACTIVE

Status

()

Firefox for Android
Toolbar
RESOLVED INACTIVE
2 years ago
an hour ago

People

(Reporter: mcomella, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

When scrolling the dynamic toolbar off-screen at a medium speed, there is a black space that appears between the toolbar and the content. It'd be great if we could align these.

See the beginning of the following video for an example: https://www.youtube.com/watch?v=Hp2SRwhoxDc&feature=youtu.be

This occurs on my local build on my GS4 but I also see it on personal Nightly on my GS5.
FWIW I had looked into this a while ago because Jeff was quite annoyed by this as well. I think I discovered that there's multiple steps of composition in the Android compositor, and even though we move the LayerView (which has the page content) and the toolbar in the same spin of the Android event loop, they don't get composited together. IIRC Jeff found that Chrome was jumping through a lot of hoops to avoid this problem, by basically having two copies of the toolbar - one in Java-land and one painted in their C++ compositor. Or something along those lines, I don't recall exactly; he might be able to provide more details.

Comment 2

an hour ago
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Last Resolved: an hour ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.