sumatrapdfreader / sumatrapdf

SumatraPDF reader
http://www.sumatrapdfreader.org
GNU General Public License v3.0
13.46k stars 1.71k forks source link

scrolling behavior very sporadic when using TPMouse #3743

Open expikr opened 1 year ago

expikr commented 1 year ago

I'm using this app to smoothly pan zoomed-in pages by holding spacebar to scroll. On every app it works perfectly, even on old legacy apps without smooth scrolling support that only scroll line-by-line.

However, in SumatraPDF, the fine scrolling randomly gets converted to full-page scrolls, so what would happen is that it scrolls smoothly for 1cm of the page and then it suddenly starts flicking through pages at a bazillion miles per hour.

What is causing scroll inputs to randomly switch to page-flicking?

Also, I can only scroll simultaneously in the up-right and down-left directions, if I do up-left and down-right then the scroll input gets completely ignored.

Bendikos commented 1 year ago

OMG, TPMouse is a very interesting software. But I can scroll normally.

expikr commented 1 year ago

Forgot to mention, this happens when continuous scrolling is disabled.

GitHubRulesOK commented 1 year ago

HMMiG its interfering with this typing, had to download a different autoit as not working straight new out of box (NOOB )

Ok switched it off for typing, this should read more slowly, I tried it in Acrobat and saw described behaviour (all over the place in terms of vertical shift and the icon hints that it was in inertia mode !) however in my copy of SumatraPDF it seemed to be more even but those key combinations are a Knightmare for me so automouse is one finger typist friendly (random inertia is controlled by the amount of dirt on the desktop so under my control)

expikr commented 1 year ago

...what are you saying?

GitHubRulesOK commented 1 year ago

I am say it reduces normal smooth scroll ability by doing inertia based scrolling in a random fashion, so not suited to document rendering scrolling. My mouse auto scrolls smoother using linear & exponential hardware based acceleration without adding multi-key variable based stepper motor.

The existing HJKL navigation is fixed chunks of pixels at a time thus linear progression at that scale. To a computer that is scrolling smoothly by units of say 10.000000 at a time but humans dont perceive those steps as smooth when considered one by one.

If I use my mouse those steps will be at a rate determined by me and or the system and become perceptibly smoother since the pixel jumps may be 3 by 3 or 2 by 2 or I can manually drag at a very variable rate thus look smoother to the eye, especially when the computer jumps one pixel by one pixel once auto scroll is activated.

expikr commented 1 year ago

I can't understand what you're saying. Are you talking about SumatraPDF or not?

This issue is talking about a flaw in Sumatra's handling of fine scrolling, which are not present in other applications such as viewing PDFs in a browser.