- 
    
Bug
 - 
    Resolution: Invalid
 - 
    
P2: Important
 - 
    None
 - 
    5.15, 6.10
 - 
    None
 
Apparently unlike QTBUG-99887, this has been an issue since Qt 5.
Qt 5:
import QtQuick 2.15 import QtQuick.Controls 2.15 ApplicationWindow { id: window width: 400 height: 400 visible: true TextField { text: qsTr("TextField") anchors.horizontalCenter: parent.horizontalCenter } TapHandler { acceptedButtons: Qt.RightButton gesturePolicy: TapHandler.WithinBounds onTapped: print("tapped") } }
Qt 6:
import QtQuick import QtQuick.Controls.Basic ApplicationWindow { id: window width: 400 height: 400 visible: true TextField { text: qsTr("TextField") anchors.horizontalCenter: parent.horizontalCenter } TapHandler { acceptedButtons: Qt.RightButton gesturePolicy: TapHandler.WithinBounds onTapped: print("tapped") } }
- relates to
 - 
                    
QTBUG-99887 TapHandler on TextField (for showing right click context menu) stops working in Qt6
-         
 - Closed
 
 -