[okular] [Bug 420492] 20.04.0 significantly slows down mouse scrolling with a "hyperscroll" mouse or a touchpad driver that sends mouse wheel scroll events when configured for greater speed

Till Schäfer bugzilla_noreply at kde.org
Wed Apr 29 21:10:59 BST 2020


https://bugs.kde.org/show_bug.cgi?id=420492

--- Comment #16 from Till Schäfer <till2.schaefer at uni-dortmund.de> ---
(In reply to roger truong from comment #13)
> After looking through the rest of pageview.cpp, I think I narrowed down the
> problem to the auto limit_value function. 
> 
> https://invent.kde.org/kde/okular/-/blob/master/ui/pageview.cpp#L5369
> https://invent.kde.org/kde/okular/-/blob/master/ui/pageview.cpp#L5400
> 

 //if we are too far behind the animation, do nothing and let it catch up
    auto limit_value = nSteps ? 200 : verticalScrollBar()->rect().height();

Does this mean, scrolling waits for the animation? If that is the case: 
I think, that the scroll behavior should never ever wait for the animation.
This is horrible on slow computers (and also on fast ones while they are doing
some heavy workload). Please, just skip the animation in this case. Does this
imply, that the max scroll speed depends on the system load?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list