News for hackers. Stuff that matters.
Re:Introduction to WebRender by modeless on Friday September 22, 2017 @02:28PM (#15314540)
> As for scrolling, it is more work for us to match the OS scrolling behavior, for sure. But it can be overcome with effort and attention to detail.

You might think so. And yet, Android Firefox's non-native scrolling behavior continues to be totally awful. Has been for years. So many apps and websites fall into the trap of thinking that reimplementing OS scrolling is easy.

I'm not saying it's the wrong decision, but know that you are signing yourself up for not just a ton of work now, but also a ton of work in the future to match platform changes.

Re:Introduction to WebRender by pcwalton on Friday September 22, 2017 @02:40PM (#15314633)
> So many apps and even websites fall into the trap of thinking that reimplementing OS scrolling is easy.

Who said it was going to be easy? :)

> I'm not saying it's the wrong decision, but know that you are signing yourself up for not just a ton of work now, but also a ton of work in the future to match platform changes.

It's important to remember that Chrome (on non-Android platforms) and Firefox already implement scrolling manually. This isn't anything new.

Re:Introduction to WebRender by kllrnohj on Friday September 22, 2017 @06:42PM (#15316568)
> It's important to remember that Chrome (on non-Android platforms)

Chrome on Android also implements scrolling manually. Just since Android is open-source they can pretty trivially port the platform's code to their system to stay in sync rather than reverse-engineering the curves.

Re:Introduction to WebRender by modeless on Friday September 22, 2017 @02:43PM (#15314657)
Right, and I'm saying Mozilla already failed at reproducing OS scrolling behavior once. Hopefully different people are working on it this time.
Re:Introduction to WebRender by pcwalton on Friday September 22, 2017 @02:52PM (#15314739)
I wrote the first version of the Android scrolling code and also the first version of the WebRender scrolling code so, uh, sorry to disappoint you, but I'm still working on WebRender.

(Keep in mind that back in those days—the days of Froyo and Gingerbread—I was way more concerned with not having the whole browser crash due to absurd bugs in the Adreno 200 drivers than replicating minute scrolling details. Times change.) :)

Re:Introduction to WebRender by modeless on Friday September 22, 2017 @03:25PM (#15314999)
Well, you're older and wiser now, that's gotta count for something :) BTW WebRender is absolutely the most exciting thing going on in browser dev right now, I can't wait for it to be ready.
Re:Introduction to WebRender by kuschku on Friday September 22, 2017 @05:22PM (#15315924)
While I love using Firefox on Android (I currently use the Nightly builds), the scrolling still is problematic.
Re:Introduction to WebRender by wtetzner on Saturday September 23, 2017 @12:11AM (#15318055)
Can someone explain what's wrong with the scrolling? I use Firefox on Android regularly, and haven't noticed any problems with it.
Re:Introduction to WebRender by kuschku on Saturday September 23, 2017 @05:34AM (#15318953)
It has different physics than Android’s native scrolling, both in delay, in acceleration, and in 'fling'.
Re:Introduction to WebRender by Confiks on Friday September 22, 2017 @03:40PM (#15315112)
As a daily Firefox for Android user, I have little idea about what's so awful about the scrolling behavior. Works like any other app for me.

Comparing it with Chrome now for the first time, Chrome scrolls up a lot of the page with even a small swipe, while Firefox only does that when you make a larger swipe.

Re:Introduction to WebRender by wtetzner on Saturday September 23, 2017 @12:09AM (#15318047)
What's so awful about Firefox for Android's scrolling? I use it as my primary mobile browser, and have never felt like the was a problem with how it handles scrolling.