Firefox on Linux can do scrolling with macOS-like rubber-band bounce-back too, make it permanent
Categories
(Core :: Panning and Zooming, enhancement)
Tracking
()
People
(Reporter: mabo, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0
Steps to reproduce:
Trackpad scrolling with Linux Firefox using WebRender is not using macOS-like rubber-band-like bounce-back. For most of the time! But from time to time, it does get activated. It just happens, and it is wonderful. Tried deactivating all of my Add-Ons in to pinpoint if somehow this might be an Add-On feature, but it is not. Happens to me all couple of weeks out of nowhere and then lasts until I restart the browser session.
Actual results:
Scrolling via trackpad, the site is elegantly bouncing back after an over-scrolling effect, like a rubber band. Same as on iOS or macOS. It just looks great. I suppose, the code for this is implemented cross-platform but only officially activated in the macOS build, but somehow gets active sometime temporary on the Linux build too.
Firefox 84 on Arch Linux, but I get this experience for about a year now.
Expected results:
Activate this effect permanently on all platforms. Why not? Feels terrific.
See my demonstration screencast: https://youtu.be/4qfxEa4mbs8
In real use, it is much more smooth than the recording can show.
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•4 years ago
|
Comment 2•4 years ago
|
||
Do you have apz.overscroll.enabled
set to true
in about:config
?
Comment 3•4 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #2)
Do you have
apz.overscroll.enabled
set totrue
inabout:config
?
My suspicion is:
- You do have this preference flipped, which enables the overscroll (rubber-banding) effect.
- However, until recently, the overscroll effect did not work with WebRender.
- You have WebRender enabled, but occasionally something happens which disables it, and then you see the effect.
The setting is not enabled by default because there are known bugs with it. Bug 1605234 tracks enabling it by default.
If you're happy with the effect as currently implemented, you're welcome to continue running with the setting enabled. To get it all the time, either use a recent Firefox Nightly, or disable WebRender.
Great deduction! You are exactly right. Great to hear that overscroll is a real feature you are working on, not a glitch or wrong codepath! =)
I prefer to use WebRender for the additional benefits it provides but I’m looking forward to get overscroll integration with it too. =)
This seems to be working on Firefox 86 using WebRender now. I get this effect on all sites wether I run OpenGL compositing or WebRender. Great! =)
Description
•