[okular] [Bug 443819] Ctrl+Scroll to zoom is incompatible with inertia touchpads

David Hurka bugzilla_noreply at kde.org
Tue Oct 19 22:16:12 BST 2021


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

--- Comment #5 from David Hurka <david.hurka at mailbox.org> ---
I understood your bug report in the way that your touchpad driver implements
inertia.

Okular does not have inertia for scroll input, because of the problem I have
outlined. It only has inertia for swipe (flick) gesture input. If you observe
inertia after scrolling with the touchpad, that is because your touchpad driver
implements it.

Okular just does what your hardware tells it to do.

---

In case you can compile Okular from source, you can search for
Qt::ControlModifier in PageView::wheelEvent(). It’s located in
part/pageview.cpp around line 3200, and the source code is available at
https://invent.kde.org/graphics/okular.

If you remove the if branch with this Qt::ControlModifier, your Okular will not
zoom with Ctrl+scroll. :)

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


More information about the Okular-devel mailing list