diff --git a/plasmoid/package/contents/ui/task/IconItem.qml b/plasmoid/package/contents/ui/task/IconItem.qml index 1e9828ab9..83353ceb4 100644 --- a/plasmoid/package/contents/ui/task/IconItem.qml +++ b/plasmoid/package/contents/ui/task/IconItem.qml @@ -213,7 +213,8 @@ Item{ states: [ State{ name: "*" - when: !launcherAnimation.running && !newWindowAnimation.running && !taskItem.inAddRemoveAnimation && !fastRestoreAnimation.running + //! since qt 5.14 default state can not use "when" property + //! it breaks restoring transitions otherwise AnchorChanges{ target:iconImageBuffer; @@ -243,7 +244,7 @@ Item{ State{ name: "animating" - when: (launcherAnimation.running || newWindowAnimation.running || fastRestoreAnimation.running) && !taskItem.inAddRemoveAnimation + when: !taskItem.inAddRemoveAnimation && (launcherAnimation.running || newWindowAnimation.running || fastRestoreAnimation.running) AnchorChanges{ target:iconImageBuffer; @@ -655,7 +656,8 @@ Item{ states: [ State{ name: "*" - when: !taskItem.isDragged + //! since qt 5.14 default state can not use "when" property + //! it breaks restoring transitions otherwise }, State{