PDF4QT icon indicating copy to clipboard operation
PDF4QT copied to clipboard

smooth scrolling of document with mouse middle wheel - flywheel

Open tomasmark79 opened this issue 1 year ago • 2 comments

Hello @JakubMelka

After implementation of auto scroll by you in my last issue I have next idea to make the viewer better for user.

One of my next original ideas was that awaiting behavior of the mouse middle button wheeling will smoothly scroll the screen with the document. Now, when user is scrolling screen canvas with middle mouse wheel, the behavior of scrolling is jumping about big space interval.

More comfortable for tired user eyes should be smooth scroll. Something like implementation of flywheel.

I have no experience how this implement (i am newbie) but I like this idea. :-)

It is nice and very inspirative to see your work! Thank you.

tomasmark79 avatar Dec 25 '23 11:12 tomasmark79

Hello @tomasmark79 , it is limited by the redraw time of the widget. Please could you provide sample PDF, where it occurs?

JakubMelka avatar Dec 26 '23 17:12 JakubMelka

Hello,

i have no doubt you know what I mean. For compare the behavior we can imagine scrolling the website via mouse wheel. The scrolling is smooth and has dynamic movement. While this one is jumping quite bit while rolling mouse wheel. I understand that it is the feature of used GUI components. The same jumping I have with C++ IDE code::blocks which is build on WxWidgets and I have no problem with this. It was only idea and question if it is implementable. :-) Thanks.

tomasmark79 avatar Jan 03 '24 07:01 tomasmark79