From 482d21c6422bdcbc0e345ee9583f0eef5140a86e Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Wed, 11 May 2022 17:23:54 +0200 Subject: [PATCH] Fix for tooltip Problem was that the mouse events were not properly propagated to the underlying mouse area. Fixed by placing the MouseArea on top of the content (instead of under) and allowing the mouse events to propagate through the mouse area. CURA-9219 --- resources/qml/TableView.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/qml/TableView.qml b/resources/qml/TableView.qml index 444d310511..7da2341908 100644 --- a/resources/qml/TableView.qml +++ b/resources/qml/TableView.qml @@ -171,6 +171,12 @@ Item acceptedButtons: Qt.LeftButton text: (cellTextMetrics.elidedText == cellContent.text) ? "" : cellContent.text //Show full text in tooltip if it was elided. + } + + MouseArea + { + anchors.fill: parent + propagateComposedEvents: true onClicked: { if(tableBase.allowSelection)