Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.8
-
None
-
-
4bb230f65 (dev), 7608a0be3 (6.6), dcf9d9500 (tqtc/lts-6.5)
Description
Sometimes, the TabHandler doesn't emit the signal onDoubleTapped when using a touchscreen. The signal onTapped is all time emited. In my test, I respect the mouseDoubleClickInterval interval between to double tap.
This happens with this very simple application:
import QtQuick 2.15 import QtQuick.Window 2.15 Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Rectangle { width: 500 height: 500 TapHandler { id:tapHandler gesturePolicy: TapHandler.ReleaseWithinBounds onTapped: { console.debug("onTapped") } onDoubleTapped: function(eventPoint) { console.debug("onDoubleTapped") } grabPermissions: PointerHandler.CanTakeOverFromAnything } } }
As the onTapped signal is all time emitted, I use my own count and timer.
I can't reproduce this problem with a double click from the mouse.
Attachments
Issue Links
- relates to
-
QTBUG-125993 Double tap on touch screen not provoking mouseDoubleClickEvent - patch included
- Closed