bojidar-bg / plasma-parallax-wallpaper

A Plasma 5 plugin which moves a background image based on the current desktop
14 stars 1 forks source link

Add transisions when changing the image #9

Open bojidar-bg opened 1 month ago

bojidar-bg commented 1 month ago

It would be cool if images changes were smoothened out, like in the default image plugin, and not abruptly switching between image -> black/loading -> new image.

toboil-features commented 1 month ago

To be honest, if it wouldn't take a lot of time to make it, i am for it. For me even the current transition is fast enough, but this small improvement is fine.

bojidar-bg commented 1 month ago

This one is not completely trivial. We need to have a second Image that fades in while the previous image fades out—something the image wallpaper does using QtQuick.Controls.StackView - https://invent.kde.org/plasma/plasma-workspace/-/blob/master/wallpapers/image/imagepackage/contents/ui/ImageStackView.qml#L115 - though we are free to reinvent the wheel, given that StackView requires making extra QML components.