| Summary: | Animated wallpaper is not animated on lock screen | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Mariano <mariano.mollo> |
| Component: | Image & Slideshow wallpaper plugins | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | bizyaev, fanzhuyifan, luisbocanegra17b, nate, notmart, qydwhotmail, ranbeermalhotra2004, teoata17 |
| Priority: | NOR | Keywords: | junior-jobs |
| Version First Reported In: | 5.26.1 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/54cbb439d729b503368ed3503ac04413edf10c8d | Version Fixed/Implemented In: | 6.7.0 |
| Sentry Crash Report: | |||
|
Description
Mariano
2022-10-23 21:55:41 UTC
Need to check for whether any of the maximized or full screen windows are the lock screen, I guess. Thank you Mariano for pointing out in the right direction. I browsed the commit and found a flaw in the logic of pausing the animation. Line 43 of AnimatedImageComponent.qml: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1831/diffs?commit_id=6e43d469811222f889eed71ad96e0073ddfbba65#5e76689bb88c1344227f1aad04ef9a5637692901_0_43 The code checks for activeWindowMonitor count which in turn finds the no. of maximized windows. Now, this logic works for an unlocked screen but when the screen is locked, the value remains the same. Maybe adding a logic to Line 43 for checking for locked status of device will help mitigate this bug. Cool, would you like to submit a merge request to fix this? I would love too. Sadly, I have no experience in Qt and C++. I explored a possible solution which I am not sure would work, but I am gonna drop it just in case. Using dbus interface to get the status of lock screen. I am not sure if this would work but I do get the status of lock screen using GetActive method. reference: https://superuser.com/questions/820596/kde-screen-lock-log Again, sorry for not contributing further due to lack of my experience. Doing `property bool isLockScreen: Window.window ? Window.window.source.toString().endsWith("LockScreen.qml") : false` works but feels more like a workaround as it will have to keep in sync with https://invent.kde.org/plasma/plasma-desktop/-/blob/master/desktoppackage/contents/lockscreen/LockScreen.qml, tried looking at MaximizedWindowMonitor class but my C++ fu is not so great to understand how it works :P
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5941 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/297 Git commit d4561bcdb24a5ff4120de89c3f7ae73383fc618b by Méven Car, on behalf of Taras Oleksyn. Committed on 19/01/2026 at 08:17. Pushed by meven into branch 'master'. Add forceImageAnimation property to force animated image play M +4 -0 wallpapers/image/imagepackage/contents/config/main.xml M +8 -2 wallpapers/image/imagepackage/contents/ui/ImageStackView.qml M +2 -0 wallpapers/image/imagepackage/contents/ui/config.qml M +2 -0 wallpapers/image/imagepackage/contents/ui/main.qml M +3 -1 wallpapers/image/imagepackage/contents/ui/mediacomponent/AnimatedImageComponent.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/d4561bcdb24a5ff4120de89c3f7ae73383fc618b Git commit a56a45dcaf3cc18445657c358f18e947b787e271 by Taras Oleksyn. Committed on 25/01/2026 at 16:42. Pushed by davidedmundson into branch 'master'. Force animated wallpapers on the lockscreen to play uninterrupted by default M +7 -0 greeter/greeterapp.cpp https://invent.kde.org/plasma/kscreenlocker/-/commit/a56a45dcaf3cc18445657c358f18e947b787e271 Git commit 54cbb439d729b503368ed3503ac04413edf10c8d by Méven Car, on behalf of Taras Oleksyn. Committed on 28/01/2026 at 09:15. Pushed by meven into branch 'master'. wallpapers/image: add forceImageAnimation property to force animated image play Add forceImageAnimation property to force animated image play to account for screen lock case. This in turn allows to prevent animated wallpapers on the lock screen to be paused, if there were some maximized windows present on the desktop. FIXED-IN: 6.6.80 M +4 -0 wallpapers/image/imagepackage/contents/config/main.xml M +9 -2 wallpapers/image/imagepackage/contents/ui/ImageStackView.qml M +2 -0 wallpapers/image/imagepackage/contents/ui/config.qml M +2 -0 wallpapers/image/imagepackage/contents/ui/main.qml M +2 -1 wallpapers/image/imagepackage/contents/ui/mediacomponent/AnimatedImageComponent.qml M +4 -0 wallpapers/image/slideshowpackage/contents/config/main.xml https://invent.kde.org/plasma/plasma-workspace/-/commit/54cbb439d729b503368ed3503ac04413edf10c8d *** Bug 515241 has been marked as a duplicate of this bug. *** *** Bug 485894 has been marked as a duplicate of this bug. *** |