Bug 353330

Summary: pressing Ctrl (while document is sliding because of scrolling) lets the document zoom instead of further sliding.
Product: [Applications] okular Reporter: Harry Fuchs <spaaaaaam>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: aacid, nate
Priority: NOR Keywords: accessibility, reproducible, usability
Version: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:

Description Harry Fuchs 2015-09-29 18:30:06 UTC
I scroll with two fingers on my mouse pad, because I want to the end of the document. I don't touch the mouse pad anymore. The document is now sliding. In the time it is sliding I want to press Ctrl and then zoom with + and - to a proper size. (In this time I'm simultaneously analyzing the pages to find the spot I want to look at.) But then the document is zooming almost to infinity with the rest of the momentum from sliding.

Now a reason why it is not an feature:
When the cpu is busy and there is not much time to render the sliding properly one could think the document already stopped sliding and the momentum is gone, but in reality it is not. The next rendered frame is now a white screen, because the view is somewhere lost between two letters.
This 

Reproducible: Always

Steps to Reproduce:
1.scroll with mouse pad, very quickly on a large file. Give it much momentum.
2. press Ctrl

Actual Results:  
The document gets lost in zooming

Expected Results:  
let the document sliding. The performing of the command to scroll is over. Now the Ctrl should not interact with last command anymore.
Comment 1 Nate Graham 2017-11-28 22:14:13 UTC
This is caused by the X11 synaptics touchpad driver's inertial scrolling feature. Apps need special code to prevent this from happening. For example: https://cgit.kde.org/ktexteditor.git/commit/?id=f51befdc80b1a8dfd65b800b3b10dba97d10a2cb

With Libinput on Xorg or Wayland, the problem "disappears" because libinput doesn't implement inertial scrolling, and expects UI toolkits like Qt and GTK to implement inertial scrolling behavior themselves.
Comment 2 Laura David Hurka 2021-10-20 13:58:52 UTC

*** This bug has been marked as a duplicate of bug 443819 ***