[okular] [Bug 421755] The two finger touchscreen gesture to zoom in out (pinch in/pinch out) results in the document to scroll by a large amount.
Nicolas Fella
bugzilla_noreply at kde.org
Sat Jul 8 13:42:32 BST 2023
https://bugs.kde.org/show_bug.cgi?id=421755
Nicolas Fella <nicolas.fella at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|DUPLICATE |FIXED
Latest Commit| |https://invent.kde.org/grap
| |hics/okular/-/commit/db6866
| |2372984e643184a6d1f8eb63e51
| |9e2646d
--- Comment #11 from Nicolas Fella <nicolas.fella at gmx.de> ---
Git commit db68662372984e643184a6d1f8eb63e519e2646d by Nicolas Fella.
Committed on 08/07/2023 at 12:04.
Pushed by nicolasfella into branch 'master'.
Avoid accidental scrolling when performing pinch gesture
When starting a pinch the user first touches with one finger. That causes the
QScroller to enter the pressed state.
Then when the second finger touches and moves this causes the QScroller to
interpret it as a scroll. This causes
the view position of the document to move
To avoid this send InputRelease to the scroller when a pinch starts to make
sure it is no longer in pressed state.
Also don't send any input to the scroller while the pinch is ongoing to avoid
it entering the pressed state again.
M +19 -4 part/pageview.cpp
https://invent.kde.org/graphics/okular/-/commit/db68662372984e643184a6d1f8eb63e519e2646d
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list