background: extensive animated image support#889
background: extensive animated image support#889evencewang wants to merge 8 commits intocaelestia-dots:mainfrom
Conversation
|
@Gitkubikon |
Holy heck - that’s a fantastic PR. I’ll take a closer look later today, but it already seems better than my quick hack, which only worked with GIFs anyway. |
|
does it have game mode support for example when game mode is enabled it pauses the background as a static image? |
shrunk.mp4
Summary
cliPR is here: background: extensive animated image support cli#68Changes
cachingimagemanager.hpp+cachingimagemanager.cpp+CachingImage.qmlreworked to show cached static frame 0 while animated frames decode.CachingImage.qmlchange, gifs are now also supported for.face(profile avatar). See video above when I lock my screen, I am using the same gif as the background, but they are unrelated, and you could use anything you would like for the profile avatar.WallpaperList.qmladdition to drive previews off immediately after index changes, scrolling to animated images will show a static preview right away.modules/background/Wallpaper.qml + Background.qmlpopulated with lock scope and gates playback pause/resume upon lock/unlock.Testing
QT_LOGGING_TO_CONSOLE=1 quickshell -c caelestiawhen I had the logs to launch wallpaper picker, picking the animated wallpaper and set it, then watch the playback pause kick in while locked, and resumed after unlock.Known issues: