Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show classic scroll bar at rest in History and Messages #191

Conversation

PhilZ-cwm6
Copy link
Contributor

Note: this is an optional mod, just for the info/tweak

  • show the classic scroll bar at rest because:
    • fastScroll bar is too large if kept always on
    • fastScroll bar has large zone at left of the bar area where touch will fast scroll instead of select the list view
    • fastScroll bar will always fade completely, unless always kept active (will be shown even if no scroll view is present)
    • fastScroll bar fading timeout cannot be changed from the 1500 msec default
    • by the presence of the classic scroll bar, we know the view is scrollable
  • on any MOVE action, enable the fastScroll bar for a fastScrollBarDisableTimeout duration after last touch event
  • do not fade out the fastScroll bar while list is scrolling (during a fast long scroll while finger is lifted up)
  • [fastScrollBarDisableTimeout]:
    • set timer to 1500 to have the classic scroll bar appear immeadiately when fast scrollbar fades
    • default is 3000 msec: lets the fastScroll bar active after it faded out. This makes it possible to fast scroll on touch between touch events

Note: this is an optional mod, just for the info/tweak
- show the classic scroll bar at rest because:
  + fastScroll bar is too large if kept always on
  + fastScroll bar has large zone at left of the bar area where touch will fast scroll instead of select the list view
  + fastScroll bar will always fade completely, unless always kept active (will be shown even if no scroll view is present)
  + fastScroll bar fading timeout cannot be changed from the 1500 msec default
  + by the presence of the classic scroll bar, we know the view is scrollable
- on any MOVE action, enable the fastScroll bar for a fastScrollBarDisableTimeout duration after last touch event
- do not fade out the fastScroll bar while list is scrolling (during a fast long scroll while finger is lifted up)
- [fastScrollBarDisableTimeout]:
  + set timer to 1500 to have the classic scroll bar appear immeadiately when fast scrollbar fades
  + default is 3000 msec: lets the fastScroll bar active after it faded out. This makes it possible to fast scroll on touch between touch events
@Sentaroh Sentaroh merged commit ff8f2e6 into Sentaroh:2.36 Oct 11, 2020
@PhilZ-cwm6 PhilZ-cwm6 deleted the patch_2020.10.11_optional_fast_scroll_bar_tweak branch October 22, 2020 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants