Bug 485894 - Animated wallpapers don't play on the lockscreen when there is a maximized window
Summary: Animated wallpapers don't play on the lockscreen when there is a maximized wi...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Screen locking (other bugs)
Version First Reported In: 6.2.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-21 11:50 UTC by Ilya Bizyaev
Modified: 2024-12-18 19:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Bizyaev 2024-04-21 11:50:31 UTC
SUMMARY
When using the same GIF as my wallpaper for both the desktop and the lockscreen, the animation will play on the desktop, but not on the lockscreen. The specific file doesn't seem to matter, you can test with this one: https://giphy.com/gifs/Windows-windows-clippy-microsoft-Ix6GpACnOfQ37CBAzq

STEPS TO REPRODUCE
1. Set an animated GIF image (or a folder with animated GIF images) as your lockscreen wallpaper.
2. Lock the screen (e.g. with Meta+L).

OBSERVED RESULT
The GIF does not play. The lockscreen is otherwise responsive, and images change when using a slideshow.

EXPECTED RESULT
Animated GIFs play on the lockscreen just like they do on the desktop.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240418
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.8.6-1-default (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
On two random occasions in months, I've had GIFs play on the lockscreen! I don't know how to reproduce this success though :)
Comment 1 g.titor 2024-07-16 16:52:30 UTC
Have the same problem on Fedora 40 with KDE 6.1.2. Animated GIFs do not play on the lock screen if a window is maximized.
Comment 2 Ilya Bizyaev 2024-07-18 18:14:15 UTC
Oh thank you, that's a great find!
Comment 3 Ilya Bizyaev 2024-07-18 21:04:24 UTC
The cause is here: (“maximized window monitor”):
https://invent.kde.org/plasma/plasma-workspace/-/blob/d9d3c67b71bcc23635acb37534ed41eb09200518/wallpapers/image/imagepackage/contents/ui/mediacomponent/AnimatedImageComponent.qml#L38

It was likely intended to save resources by not animating wallpapers obscured by fullscreen windows, but it doesn't consider the lockscreen use case.