FBReader icon indicating copy to clipboard operation
FBReader copied to clipboard

Implement automatic scrolling

Open snowwlex opened this issue 13 years ago • 3 comments

from http://old.fbreader.org/mantis/view.php?id=98

Autoscrolling: When reading, I press a button to toggle autoscroll mode. In autoscroll mode, buttons should be mapped to increase and decrease scroll speed. I have mapped up and down in Opiereader. Outside of autoscroll mode, the same buttons scroll up or down a page at a time. Autoscroll mode should also prevent any power management from turning off the screen or the device.

Ideas: Auto Scrolling mode should be entered and exited at the press of a single button. Buttons should be able to be mapped to do different things in this mode than out. At least, up should be mapped to scroll up in regular mode and decrease scroll speed in autoscroll mode. Likewise for down.

It should attempt to turn off power management or keep the screen on.

Tasks:

  • Create Actions in FBReaderActions
    • ACTION_AUTOSCROLL
    • ACTION_INCREASE_SCROLL_INTERVAL (go slower) Is there better wording for these?
    • ACTION_DECREASE_SCROLL_INTERVAL (go faster)

This was my first look at the code. I'd appreciate if someone could help refine this and add more details.

snowwlex avatar Jul 31 '12 22:07 snowwlex

I think this is more interesting on FBReaderJ on Android.

jstrunk avatar Aug 01 '12 18:08 jstrunk

Has this ever been revisited? It would make FB gain an edge over MoonReader!

daisy613 avatar May 27 '16 03:05 daisy613

I agree this feature would be really useful.

A quick hack for the Linux version (lean-back experience?):

  1. install xdotool
  2. open FBReader to the document you want to read
  3. place the mouse cursor over the scrollbar's down arrow
  4. open a terminal, run sleep 30; while xdotool click 1; do sleep 3; done

You can adjust the 30 and 3 to your own liking.

stephenwithav avatar Jun 04 '16 22:06 stephenwithav