Closed Bug 1512872 Opened 6 years ago Closed 4 years ago

Jumpy scrolling in fennec when hiding / showing the address bar

Categories

(Firefox for Android Graveyard :: Toolbar, defect, P2)

ARM
Android
defect

Tracking

(firefox-esr68 affected, firefox68 affected)

RESOLVED INCOMPLETE
Tracking Status
firefox-esr68 --- affected
firefox68 --- affected

People

(Reporter: emilio, Unassigned)

Details

I've noticed this fairly recently, though it's reproducible on release, so I suspect it's not a recent regression. Str: * Go to https://amp.slate.com/business/2018/12/google-walkout-protests-contract-workers.html?via=gdpr-consent (just a random twitter link I happened to click on) * Scroll down to the article content enough so that the address bar disappears. * Scroll up. Expected: no jumps Actual: the scroll position jumps significantly enough to be annoying :) I'm not sure of which component this should be in, so trying APZ for now... Though its not reproducible with Geckoview on focus, so it may be a front-end issue instead? I've seen other websites with this behavior but not all of them, I can find more links if needed / wanted. It also happens when scrolling diagonally on this page fwiw.
I think apz is the right component since it seems to jump on the main-thread repaint that happens after async-crolling.
It looks like it might be JS on the site reacting to a resize of the browser window, which happens when the dynamic toolbar transitions on or off screen. I'm not sure how Focus's dynamic toolbar works, but I know it doesn't use the same code as Fennec's so it could well be doing something differently.
Component: Panning and Zooming → Toolbar
Product: Core → Firefox for Android
(In reply to Botond Ballo [:botond] from comment #2) > It looks like it might be JS on the site reacting to a resize of the browser > window, which happens when the dynamic toolbar transitions on or off screen. > > I'm not sure how Focus's dynamic toolbar works, but I know it doesn't use > the same code as Fennec's so it could well be doing something differently. Talked to :snorp today and he confirmed that Focus's dynamic toolbar does not resize the viewport. When the toolbar is shown, a corresponding slice of the bottom of the viewport is just offscreen (so elements fixed to the bottom might be cut off or hidden altogether). So yeah, pretty sure this is related to web content reacting to resizes. May not be much we can do about it (though if it doesn't happen in Chrome, it would be good to understand why).

Hi, issue is reproducible on Firefox Release 68.2.0 and Firefox Beta 68.3b3 with Samsung Galaxy S9 (Android 8.0.0) and Sony XPeria Z5 (Android 7.0).
Note:

OS: Unspecified → Android
Hardware: Unspecified → ARM
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.