diff --git a/shell/plugins/background/Background.qml b/shell/plugins/background/Background.qml index 6f692677..d5e0741d 100644 --- a/shell/plugins/background/Background.qml +++ b/shell/plugins/background/Background.qml @@ -274,7 +274,7 @@ Item { property: "revealProgress" from: 0 to: 1 - duration: Style.duration(420) + duration: Style.duration(840) easing.type: Easing.OutCubic onFinished: { if (root.incomingBackground) { diff --git a/test/shell.d/background-test.sh b/test/shell.d/background-test.sh index 2a0d832d..fa9a1442 100644 --- a/test/shell.d/background-test.sh +++ b/test/shell.d/background-test.sh @@ -74,4 +74,9 @@ assert( /function prepareBackground[\s\S]*?requestNativeSize\(path\)/.test(backgroundQml), 'background never probes videos and probes a prepared frame ahead of its transition' ) + +assert( + /id: revealAnimation[\s\S]*?duration: Style\.duration\(840\)/.test(backgroundQml), + 'background reveal takes 840ms' +) JS