From d93f6f25d20b231fe6c75e3b8d40d158d5c35ff5 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 11 Nov 2019 10:47:53 +0100 Subject: [PATCH] Prevent "sticky" tooltips When quickly moving the mouse in and out, the timer would still be running, so the tooltip would become active once the mouse moved out of the area. --- .../Recommended/RecommendedQualityProfileSelector.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml b/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml index 7c527f9448..337aff573f 100644 --- a/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml +++ b/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml @@ -174,7 +174,11 @@ Item } onEntered: intentTooltipTimer.start() - onExited: base.hideTooltip() + onExited: + { + base.hideTooltip() + intentTooltipTimer.stop() + } } NoIntentIcon // This icon has hover priority over intentDescriptionHoverArea, so draw it above it.