Bug 425850

Summary: Smooth scrolling not applied when rolling the mouse wheel
Product: [Applications] okular Reporter: Lukas Ba. <kdeu>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal CC: keziolio123, nate
Priority: NOR    
Version: 1.11.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 1.11.2

Description Lukas Ba. 2020-08-26 22:21:14 UTC
SUMMARY
Smooth scrolling is not applied when clicking the mouse wheel, the view is jumping instead of moving. Smooth scrolling works fine when using the keyboard keys PageUp or PageDown.

SOFTWARE/OS VERSIONS
Betriebssystem: Arch Linux
KDE-Plasma-Version: 5.19.4
KDE-Frameworks-Version: 5.73.0
Qt-Version: 5.15.0
Kernel-Version: 5.8.3-arch1-1
Art des Betriebssystems: 64-bit
Prozessoren: 24 × AMD Ryzen 9 3900X 12-Core Processor
Speicher: 15,6 GiB Arbeitsspeicher
Grafikprozessor: GeForce RTX 2080 SUPER/PCIe/SSE2
Comment 1 Nate Graham 2020-09-08 13:41:06 UTC
I assume you mean "rolling the scroll wheel" rather than "clicking the scroll wheel" as clicking it triggers zoom-in behavior if you click-and-hold.
Comment 2 Lukas Ba. 2020-09-08 14:05:38 UTC
(In reply to Nate Graham from comment #1)
> I assume you mean "rolling the scroll wheel" rather than "clicking the
> scroll wheel" as clicking it triggers zoom-in behavior if you click-and-hold.

yes rolling
Comment 3 Nate Graham 2020-09-11 13:59:44 UTC
Git commit c54c38f761fb79efd0d552bdb88c7977f22b3a88 by Nate Graham.
Committed on 11/09/2020 at 13:59.
Pushed by ngraham into branch 'release/20.08'.

Re-add smooth scrolling for arrow key and mouse wheel scrolling

This is safe now that the animated transitions no longer block repeated
scroll actions during the animation.

This partially reverts 08d368c13b0fa7368be9720b8de1b7a67188b8e9
Related: bug 422041
FIXED-IN: 1.11.2

M  +2    -2    ui/pageview.cpp

https://invent.kde.org/graphics/okular/commit/c54c38f761fb79efd0d552bdb88c7977f22b3a88