View Single Post
Old 04-27-2020, 01:56 AM   #17
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303826
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by kovidgoyal View Post
Yeah I really dont follow. In paged mode, you scroll by pages, so there is no question of automatic scroll. In flow mode there is a builtin automatic scroll with an adjustable speed that pauses at chapter boundaries for a configurable time. So no need for mouse based infinite scroll again.
I have a different Logitec mouse and I think I now what the OPs issue is.

The scrollwheel on these can change from a "ratchet" mode to a "freespin" mode if you turn the wheel fast enough. In the "freespin" mode, the wheel spins for a long time. This is good for long web pages as you can just spin it to get to the top or bottom quickly. And in the viewer, it works the same way. Which is great if you want to get to the end of the book quickly.

I think what the OP wants is that when the end of an internal file is hit, to stop scrolling. Even if there are more scroll events coming. The use something else to scroll to the next file. Or, wait until the scroll events stop and start again.

There is an option "Stop at internal file boundaries when smooth scrolling by holding down the scroll key" in the scrolling preferences. That is for smooth scroll when holding the key down. When you hit the end of the internal file it stops. You have to release the key and start again.

I think that something similar for fast mouse scrolling is what is wanted. I have no idea whether that is possible. I have never coded for the mouse wheel, so I don't know what the events look like.
davidfor is offline   Reply With Quote