From d6e71924ba2a4b96c92c75d41249a9961bbaa036 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sun, 17 Jan 2021 09:20:36 +0200 Subject: [PATCH] plasmoid:fix binding loop from Indexer.separators --fix binding loop that was breaking tasks launchers experience --- plasmoid/package/contents/ui/abilities/Indexer.qml | 2 +- plasmoid/package/contents/ui/main.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plasmoid/package/contents/ui/abilities/Indexer.qml b/plasmoid/package/contents/ui/abilities/Indexer.qml index 8e3afd37c..946e75477 100644 --- a/plasmoid/package/contents/ui/abilities/Indexer.qml +++ b/plasmoid/package/contents/ui/abilities/Indexer.qml @@ -34,7 +34,7 @@ ClientAbility.Indexer { readonly property bool tailAppletIsSeparator: isActive ? bridge.indexer.tailAppletIsSeparator : false readonly property bool headAppletIsSeparator: isActive ? bridge.indexer.headAppletIsSeparator : false - readonly property bool isReady: (layout && layout.children.length >= itemsCount) && !updateIsBlocked + readonly property bool isReady: (layout && layout.children.length === itemsCount) && !updateIsBlocked readonly property int maxIndex: 99999 readonly property alias visibleItemsCount: _privates.visibleItemsCount diff --git a/plasmoid/package/contents/ui/main.qml b/plasmoid/package/contents/ui/main.qml index ab073274d..7e6a31d6b 100644 --- a/plasmoid/package/contents/ui/main.qml +++ b/plasmoid/package/contents/ui/main.qml @@ -796,7 +796,7 @@ Item { tasksModel: tasksModel indexer.itemsCount: tasksModel.count - indexer.updateIsBlocked: root.inDraggingPhase + indexer.updateIsBlocked: root.inDraggingPhase || root.inActivityChange launchers.group: plasmoid.configuration.launchersGroup launchers.syncer.isBlocked: inDraggingPhase