diff --git a/src/effects/overview/qml/ScreenView.qml b/src/effects/overview/qml/ScreenView.qml index e3a0aacf19..6ec971df82 100644 --- a/src/effects/overview/qml/ScreenView.qml +++ b/src/effects/overview/qml/ScreenView.qml @@ -13,9 +13,11 @@ FocusScope { id: container focus: true + property bool animationEnabled: false property bool organized: false function start() { + container.animationEnabled = true; container.organized = true; } @@ -84,6 +86,7 @@ FocusScope { width: heapArea.width height: heapArea.height focus: true + animationEnabled: container.animationEnabled organized: container.organized model: KWinComponents.ClientFilterModel { activity: KWinComponents.Workspace.currentActivity diff --git a/src/effects/overview/qml/WindowHeap.qml b/src/effects/overview/qml/WindowHeap.qml index e26a6c0a0d..4b56241326 100644 --- a/src/effects/overview/qml/WindowHeap.qml +++ b/src/effects/overview/qml/WindowHeap.qml @@ -23,6 +23,8 @@ FocusScope { property alias model: windowsRepeater.model property int selectedIndex: -1 + property bool animationEnabled: false + required property bool organized ExpoLayout { @@ -99,6 +101,7 @@ FocusScope { ] component TweenBehavior : Behavior { + enabled: heap.animationEnabled NumberAnimation { duration: effect.animationDuration easing.type: Easing.InOutCubic