Bug 420925

Summary: Add kinetic scrolling on Trackpad use too
Product: [Applications] okular Reporter: Maximilian Böhm <mabo>
Component: generalAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: wishlist CC: a.geno, federicocalzoni01, hujq, imagesfromobjects, keziolio123, lucamilo123123, mabo, marioborna, miranda, nate, nilskemail+kde, rafael.palma.lima
Priority: NOR    
Version: 20.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Maximilian Böhm 2020-05-02 21:16:52 UTC
Okular 20.04 has introduced fantastic kinetic scrolling with acceleration momentum on mouse drag, touch drag and page up/down keys. But trackpad scrolling is missing the kinetic momentum. If I switch from dragging the page to using the normal scroll gesture on my trackpad, the missing momentum feels like there is something wrong.

Also see 413989
Comment 1 Nate Graham 2020-05-07 13:55:01 UTC
I would like this too.
Comment 2 Laura David Hurka 2020-10-22 16:09:31 UTC
Do you think we shouldn’t use QScroller::scrollTo(QPoint, time=0) for such continuous scrolling events, but QScroller::handleInput()?

Pro: The Browse tool already uses handleInput(), and that appears to work well.

Contra: We need to fake the Grabbed and Dragging state, which could maybe(?) cause further bugs because we forget to update other scrolling methods. We also need to create a Release event, which is difficult, because when scrolling events stop, there are simply no further scroll events, while the Browse tool receives a mouse release event.
Comment 3 Laura David Hurka 2021-06-09 10:42:12 UTC
*** Bug 438252 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2021-12-08 18:42:49 UTC
*** Bug 446689 has been marked as a duplicate of this bug. ***
Comment 5 Allexus J 2021-12-08 18:46:26 UTC
This feature is really important. It's a shame that Okular does not support it yet :/
Comment 6 Maximilian Böhm 2021-12-08 19:00:41 UTC
(In reply to Allexus J from comment #5)
> This feature is really important. It's a shame that Okular does not support it yet :/

Don’t be ridiculous, it’s no 'shame'.
Comment 7 Allexus J 2021-12-12 20:30:37 UTC
(In reply to Maximilian Böhm from comment #6)
> (In reply to Allexus J from comment #5)
> > This feature is really important. It's a shame that Okular does not support it yet :/
> 
> Don’t be ridiculous, it’s no 'shame'.

maybe I wrote a wrong word, I'm not english. Maybe "pity" is the right word.
Comment 8 tim 2023-01-05 21:02:21 UTC
(In reply to Nate Graham from comment #1)
> I would like this too.

I just filed a wishlist item for this feature in Dolphin. Similarly, there is a version of kinetic scrolling when using a mouse wheel, but using a touchpad is kludgy.
Comment 9 Luca 2023-06-03 07:47:48 UTC
It would also be cool to be able to do pinch to zoom on documents.
Comment 10 Rafael Lima 2023-12-18 22:48:03 UTC
Kinetic scrolling and pinch to zoom would be awesome features for Okular under Wayland