Bug 425850 - Smooth scrolling not applied when rolling the mouse wheel
Summary: Smooth scrolling not applied when rolling the mouse wheel
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.11.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-26 22:21 UTC by Lukas Ba.
Modified: 2020-09-11 13:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.11.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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