From b7cbd99212cbd5810e670329d7c49554a121e60b Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 2 Mar 2021 18:35:50 -0600 Subject: [PATCH] Fix tooltip display in app grid --- app/gui/AppView.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/gui/AppView.qml b/app/gui/AppView.qml index bb694c6e..33a71822 100644 --- a/app/gui/AppView.qml +++ b/app/gui/AppView.qml @@ -74,6 +74,7 @@ CenteredGridView { grid: appGrid property alias appContextMenu: appContextMenuLoader.item + property alias appNameText: appNameTextLoader.item // Dim the app if it's hidden opacity: model.hidden ? 0.4 : 1.0 @@ -106,7 +107,7 @@ CenteredGridView { ToolTip.text: model.name ToolTip.delay: 1000 ToolTip.timeout: 5000 - ToolTip.visible: (parent.hovered || parent.highlighted) && (!appNameText.visible || appNameText.truncated) + ToolTip.visible: (parent.hovered || parent.highlighted) && (!appNameText || appNameText.truncated) } Loader { @@ -170,6 +171,7 @@ CenteredGridView { } Loader { + id: appNameTextLoader active: appIcon.isPlaceholder asynchronous: true