Commit 9c82d1f5 authored by Nate Graham's avatar Nate Graham
Browse files

Revert "taskmanager: Show highlight before ToolTipInstance starts loading for grouped tooltips"

This reverts commit 9e1a0670.

This should not have been cherry-picked to stable as it implicitly
relies on newer frameworks.

BUG: 444633
FIXED-IN: 5.23.3
parent 1f4613d5
......@@ -338,7 +338,6 @@ MouseArea {
// Only assign different values to mainItem to avoid unnecessary reevaluation
if (mainItem.parentTask !== task) {
mainItem.parentTask = task;
mainItem.isLoaderActive = false;
}
let rootIndex = tasksModel.makeModelIndex(itemIndex, -1);
......@@ -395,9 +394,6 @@ MouseArea {
});
}
}
// For grouped tooltips, show highlight before ToolTipInstance starts loading to make user feel less unresponsive
onAboutToShow: if (mainItem.isGroup) mainItem.isLoaderActive = active
}
}
......
......@@ -30,7 +30,6 @@ PlasmaComponents3.ScrollView {
property string appName
property int pidParent
property bool isGroup
property bool isLoaderActive: false
property var windows
readonly property bool isWin: windows !== undefined
......@@ -105,12 +104,8 @@ PlasmaComponents3.ScrollView {
rootIndex: toolTipDelegate.rootIndex
delegate: Loader {
active: toolTipDelegate.isLoaderActive
asynchronous: true
sourceComponent: ToolTipInstance {
submodelIndex: tasksModel.makeModelIndex(toolTipDelegate.rootIndex.row, index)
}
delegate: ToolTipInstance {
submodelIndex: tasksModel.makeModelIndex(toolTipDelegate.rootIndex.row, index)
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment