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

Nicolas Fella <nicolas.fe...@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.fe...@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.

Reply via email to