Calibre's viewer scrolling problem on laptop
#1  Icewarden 11-22-2019, 07:50 AM
Hello, I have scrolling problem with calibre's viewer in laptop with trackpad. Its a Dell laptop with Windows 10. I use flow mode and when scrolling downwards with two fingers, it always jumps to next chapter instead of going continuously like a webpage which makes reading not possible with scrolling which is my preferred method. I tried changing setting in scrolling behaviour by trying "mouse wheel scrolls by screen fulls instead of pages" setting both on and off but nothing changed. Please do tell if I have missed some settings.
The version 3 did not have this issue. Version 3 only jumped at the end of a chapter in book but version 4 jumps every time. If possible I request to provide option in flow mode to not jump at all even after chapter ends and continuously scroll from beginning to end of book without jumping when chapter ends. Like how pdf readers like foxit and pdf x change editor behaves.
I have another small request and I apologize if its off topic. But if possible, can an option of dark mode to turn the toolbar at the side and the box which appears above when right clicked be made available in future versions? The boxes shown in this screenshot:

#2  kovidgoyal 11-22-2019, 08:57 AM
Using two fingers on the touchpad in the viewer works for me exactly as before in flow mode, it scrolls continuously. Is your touchpad not generating wheel events??

#3  Icewarden 11-22-2019, 10:37 AM
Sorry I don't know what wheel events is.
But another thing I should mention, scrolling upward has no jumping issues and it works fine. Its only jumps when scrolling downwards.
I also just downloaded version 3.48 portable of calibre to check and it has no jumping issues I mentioned above

#4  democrite 11-22-2019, 07:13 PM
I don't recall how the old viewer differs in this, though what's hinted at in the message is something I've been meaning to ask. As we are used to viewing documents in some sense like flow mode, word processing documents, PDFs, some mobile EPUB readers act as such, etc., is it possible to offer some smoother transition between files? At the limit of a file/chapter, calibre loads the previous or next file with scroll position at the top of the file. As such, scrolling at the limit such as to view the end of one file or beginning of another is a bit finicky. If it were possible to have the viewer use multiple WebFrames (?) such that at the limit of a chapter, it would smoothly scroll between them, such that one could simultaneously view the beginning/end of one file and such of another, like how some email apps show a threaded conversation using multiple HTML controls, how a word processor smoothly transitions between pages, and too many PDF viewers, I think that'd significantly enhance flow mode viewing.

#5  Icewarden 11-22-2019, 08:57 PM
Here's a gif screenshot of my problem:

#6  kovidgoyal 11-22-2019, 09:04 PM
@Icewarden: Wheel events are the events sent by a mouse wheel which is what two fingers on a touchpad are meant to emulate. Make sure you are on the latest calibre version.

@democrite: Sure at the cost of greatly complicating the code, increasing resource usage and tanking performance. Another webframe as you call it is a whole new sandboxed process in web engine. That process would therefore need to laod all the resources used by the book in copies. And all this for somethingthat is not even the primary usecase of the viewer. If the transition between files bothers you so much, merge the files before reading, which you can do with a couple ofclicks in the editor or by converting to htmlz.

#7  Icewarden 01-02-2020, 04:59 AM
This problem no longer exist in the newest version I tried and the table of contents is dark mode now too. Thanks for these good changes.

#8  entodoays 07-04-2020, 03:40 AM
I'm posting here, because my query is quite similar. I would like the viewer to not scroll past the end of internal borders.
There's a setting in viewer "Stop at internal file boundaries when smooth scrolling by holding down the scroll key". I tried enabling this setting, but what is the scroll key? I'm using the trackpad to scroll and there's no scroll lock on my laptop.

#9  kovidgoyal 07-04-2020, 03:48 AM
The scroll key is down or page down or spacebar. Mouse wheel/trackpad based scrolling is not applicable to that setting.

#10  entodoays 07-04-2020, 04:00 AM
Is there a way to stop the viewer scrolling past internal file boundaries while scrolling with the trackpad?

  Next »  Last »  (1/2)
Today's Posts | Search this Thread | Login | Register