thorium-reader icon indicating copy to clipboard operation
thorium-reader copied to clipboard

Mouse scroll wheel and touchpad scroll gesture support

Open PhilippeBruno opened this issue 3 years ago • 7 comments

Two suggestions:

  • When using Thorium on a Windows machine, it would be nice to be able to use mouse scroll wheel to flip pages.
  • When using Thorium on a tablet PC (Microsoft Surface, etc.) or a touch screen PC, it would be nice to swipe the screen from right to left and from left to right to turn pages. I was reading an EPUB in bed tonight on my Microsoft Surface and at several occasions, I was trying to turn pages with gestures...

PhilippeBruno avatar Apr 12 '21 06:04 PhilippeBruno

When using Thorium on a Windows machine, it would be nice to be able to use mouse scroll wheel to flip pages.

Agreed.

This functionality is in fact already implemented on all 3 supported desktop platforms (MacOS, Linux, Windows), BUT ONLY when placing the mouse cursor over the bottom "scrub bar" / reading progression slider.

This is an experimental feature. Usability is currently sub-optimal (i.e. the same mouse wheel / scroll control should be afforded over the main content area, not just confined to the small bottom UI area). More importantly, the scroll event is currently throttled, which creates an unintuitive / unnatural experience when turning pages. Furthermore, scroll inertia causes confusion (e.g. when swiping across a MacOS touch trackpad, book pages turn in an uncontrollable manner).

danielweck avatar Apr 12 '21 06:04 danielweck

Related issue: https://github.com/edrlab/thorium-reader/issues/725

* When using Thorium on a tablet PC (Microsoft Surface, etc.) or a touch screen PC, it would be nice to swipe the screen from right to left and from left to right to turn pages. I was reading an EPUB in bed tonight on my Microsoft Surface and at several occasions, I was trying to turn pages with gestures...

The "touch gesture" part of this new issue is effectively a duplicate of the older issue (link above), so please allow me to rename the issue title, so that the scope here is "mouse scroll wheel / touchpad scroll gesture".

danielweck avatar Apr 12 '21 06:04 danielweck

To summarize, there are now two separate but related issues:

  • this one - for mouse wheel / touchpad gestures, scroll events
  • another one (https://github.com/edrlab/thorium-reader/issues/725 ) - for on-screen touch gestures, Pointer events

danielweck avatar Apr 12 '21 06:04 danielweck

Before I post a suggestion, I try to search if someone made that suggestion before. Sorry I missed the gesture one.

PhilippeBruno avatar Apr 12 '21 06:04 PhilippeBruno

Could there be an option to reverse scrolling direction for desktops? There is little consensus on natural scrolling in the case of trackpads and scroll wheels.

blsz avatar May 30 '21 06:05 blsz

It is true that I use "inverted" scrolling direction on my Mac, but on the bottom area, scroll & page turn are active in the "original" direction: user configuration is not taken into account.

llemeurfr avatar Jul 05 '21 09:07 llemeurfr

When using Thorium on a Windows machine, it would be nice to be able to use mouse scroll wheel to flip pages.

Agreed.

This functionality is in fact already implemented on all 3 supported desktop platforms (MacOS, Linux, Windows), BUT ONLY when placing the mouse cursor over the bottom "scrub bar" / reading progression slider.

This is an experimental feature. Usability is currently sub-optimal (i.e. the same mouse wheel / scroll control should be afforded over the main content area, not just confined to the small bottom UI area). More importantly, the scroll event is currently throttled, which creates an unintuitive / unnatural experience when turning pages. Furthermore, scroll inertia causes confusion (e.g. when swiping across a MacOS touch trackpad, book pages turn in an uncontrollable manner).

I just tried out Thorium yesterday and absolutely love the layout options. I think this program would be my favorite ereader program by far were it not for the fact that you need to put the cursor over the progression slider to scroll with the mouse wheel. Given that I often use reading as a quick break between other tasks, it's a bit annoying to have to keep moving my cursor back over the small bar on the bottom to be able to switch pages with my mouse.

Is there any chance that you @danielweck and/or the rest of the team could resolve this issue by expanding the scroll control functionality to the main content area? Thanks so much for all your hard work on this and hope this doesn't come across as too demanding - I don't have much experience with github so I apologize if it's not appropriate for me to bring up an old issue.

JayceTheBased avatar Jul 09 '22 22:07 JayceTheBased