QScroller with QScroller::TouchGesture does not delay touch event
-
QScroller delay mouse press when using QScroller::LeftButtonGesture but not delay touch begin event when using QScroller::TouchGesture.
How can i make the widget under the finger not receive an touch event when scrolling by QScroller::TouchGesture like mouse event when using QScroller::LeftButtonGesture?
Should i change QFlickGestureRecognize or PressDelayHandler to support it? -
QScroller delay mouse press when using QScroller::LeftButtonGesture but not delay touch begin event when using QScroller::TouchGesture.
How can i make the widget under the finger not receive an touch event when scrolling by QScroller::TouchGesture like mouse event when using QScroller::LeftButtonGesture?
Should i change QFlickGestureRecognize or PressDelayHandler to support it? -
@JoeCFD The eventfilter affects how widgets respond to touch, for example, buttons will not be clicked by touch.
In fact, we wanted a way to make it easy for all QAbstractScrollAreas to scroll when touched without affecting normal touch interactions, just like QML's ScrollView.
If QScroller performs better when touched, we can make all QAbstractScrollArea in the desktop environment use QScroller by default to support touch scrolling.