wallpapers/image: add forceImageAnimation property to force animated image play

Add forceImageAnimation property to force animated image play to account for screen lock case.
Depends on kscreenlocker MR: kscreenlocker!297 (merged)

Reason for the change

Fixes the bug where animated wallpapers paused on the lock screen if there were some maximized windows present on the desktop.

Test plan

Verified that animation pausing works as expected for:

  • animated wallpaper set for both desktop and lock screen, with and without maximized windows
  • animated wallpaper set only for desktop, with and without maximized windows
  • animated wallpaper set only for lock screen, with and without maximized windows
  • showing/hiding desktop with Peek at Desktop widget

Screen recordings

Recording 1 Recording 2 Recording 3 Recording 4

Bugs fixed

BUG: 460910
FIXED-IN: 6.6.80

Edited by Taras Oleksyn

Merge request reports

Loading