Gregory Pappas 8617e7a190 Bug 1860161 - Fade out overlay scrollbars on Android r=emilio,geckoview-reviewers,m_kato
Noticed while working on bug 1859864 that ScrollbarFadeDuration on
Android is 0. It seemed a bit odd because every other platform with
overlay scrollbars has a non-zero fade duration, but I figured that it
was intentional and for power saving/performance/etc.

Looking closer, it seems this is actually a regression from switching
away from the old java scrollbars to gecko scrollbars (bug 1223928).
The old java scrollbars did fade out (bug 704784).

The fade animation makes scrollbars look nicer imo so it would be cool
if we could bring this back.

Chromium uses a duration of 300ms so we should probably match that,
since people are used to it.
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/widget/compositing/layer_tree_settings.cc;l=68-84;drc=6d4dcee2c0a7d7750037ffb70de6b82385d7ad0e

Differential Revision: https://phabricator.services.mozilla.com/D191503
2023-10-23 12:23:12 +00:00
2023-10-19 17:58:24 +02:00

An explanation of the Firefox Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Firefox from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Firefox developers for
testing, may be buggy.
Description
Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Readme 6.1 GiB
Languages
JavaScript 32.3%
C++ 25.4%
HTML 21%
C 10.8%
Python 2.8%
Other 7.2%