diff --git a/wallpapers/image/imagepackage/contents/config/main.xml b/wallpapers/image/imagepackage/contents/config/main.xml
index 46a44ea9b..868d5af71 100644
--- a/wallpapers/image/imagepackage/contents/config/main.xml
+++ b/wallpapers/image/imagepackage/contents/config/main.xml
@@ -38,10 +38,6 @@
900
-
-
- 1000
-
diff --git a/wallpapers/image/imagepackage/contents/ui/main.qml b/wallpapers/image/imagepackage/contents/ui/main.qml
index 2f4a98e56..f7439fc97 100644
--- a/wallpapers/image/imagepackage/contents/ui/main.qml
+++ b/wallpapers/image/imagepackage/contents/ui/main.qml
@@ -178,16 +178,18 @@ QQC2.StackView {
replaceEnter: Transition {
OpacityAnimator {
+ id: replaceEnterOpacityAnimator
from: 0
to: 1
- duration: wallpaper.configuration.TransitionAnimationDuration
+ // The value is to keep compatible with the old feeling defined by "TransitionAnimationDuration" (default: 1000)
+ duration: Math.round(PlasmaCore.Units.veryLongDuration * 2.5)
}
}
// Keep the old image around till the new one is fully faded in
// If we fade both at the same time you can see the background behind glimpse through
replaceExit: Transition{
PauseAnimation {
- duration: wallpaper.configuration.TransitionAnimationDuration
+ duration: replaceEnterOpacityAnimator.duration
}
}
}
diff --git a/wallpapers/image/slideshowpackage/contents/config/main.xml b/wallpapers/image/slideshowpackage/contents/config/main.xml
index 92d618171..2be863e8c 100644
--- a/wallpapers/image/slideshowpackage/contents/config/main.xml
+++ b/wallpapers/image/slideshowpackage/contents/config/main.xml
@@ -30,10 +30,6 @@
900
-
-
- 1000
-