<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>460910</bug_id>
          
          <creation_ts>2022-10-23 21:55:41 +0000</creation_ts>
          <short_desc>Animated wallpaper is not animated on lock screen</short_desc>
          <delta_ts>2026-01-31 10:37:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Image &amp; Slideshow wallpaper plugins</component>
          <version>5.26.1</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>junior-jobs</keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mariano">mariano.mollo</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>bizyaev</cc>
    
    <cc>fanzhuyifan</cc>
    
    <cc>luisbocanegra17b</cc>
    
    <cc>nate</cc>
    
    <cc>notmart</cc>
    
    <cc>qydwhotmail</cc>
    
    <cc>ranbeermalhotra2004</cc>
    
    <cc>tte0</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-workspace/-/commit/54cbb439d729b503368ed3503ac04413edf10c8d</cf_commitlink>
          <cf_versionfixedin>6.7.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2164572</commentid>
    <comment_count>0</comment_count>
    <who name="Mariano">mariano.mollo</who>
    <bug_when>2022-10-23 21:55:41 +0000</bug_when>
    <thetext>SUMMARY
The user can set an animated wallpaper on the desktop and on the lock screen as well.
The animated wallpaper is set to stop when a window is maximized. [1]
When a window is maximized, also the animation on the lock screen is stopped.
I guess that was not intended.

DESIRED RESULT

The lock screen should always be animated, regardless of maximized windows.

[1]: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1831/diffs?commit_id=013ad03370a1b08d2db79d88cf8f752434d0e401

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS Linux 6.0.2-arch1-1 #1 SMP PREEMPT_DYNAMIC x86_64 GNU/Linux
KDE Plasma Version: 5.26.1
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Graphics platform: Wayland</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2164975</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-10-24 20:52:53 +0000</bug_when>
    <thetext>Need to check for whether any of the maximized or full screen windows are the lock screen, I guess.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2444850</commentid>
    <comment_count>2</comment_count>
    <who name="Ranbeer Malhotra">ranbeermalhotra2004</who>
    <bug_when>2025-08-03 02:35:58 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2445802</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-08-07 15:39:33 +0000</bug_when>
    <thetext>Cool, would you  like to submit a merge request to fix this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2445940</commentid>
    <comment_count>4</comment_count>
    <who name="Ranbeer Malhotra">ranbeermalhotra2004</who>
    <bug_when>2025-08-08 02:00:11 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2451767</commentid>
    <comment_count>5</comment_count>
    <who name="Luis Bocanegra">luisbocanegra17b</who>
    <bug_when>2025-09-01 08:30:26 +0000</bug_when>
    <thetext>Doing `property bool isLockScreen: Window.window ? Window.window.source.toString().endsWith(&quot;LockScreen.qml&quot;) : 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2464923</commentid>
    <comment_count>6</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2025-10-25 11:01:22 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5941</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2472882</commentid>
    <comment_count>7</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2025-11-26 05:49:39 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/297</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2486199</commentid>
    <comment_count>8</comment_count>
    <who name="Méven">meven</who>
    <bug_when>2026-01-19 08:17:57 +0000</bug_when>
    <thetext>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 &apos;master&apos;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2488364</commentid>
    <comment_count>9</comment_count>
    <who name="Taras Oleksyn">taras.oleksyn</who>
    <bug_when>2026-01-25 21:42:18 +0000</bug_when>
    <thetext>Git commit a56a45dcaf3cc18445657c358f18e947b787e271 by Taras Oleksyn.
Committed on 25/01/2026 at 16:42.
Pushed by davidedmundson into branch &apos;master&apos;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2489241</commentid>
    <comment_count>10</comment_count>
    <who name="Méven">meven</who>
    <bug_when>2026-01-28 09:15:40 +0000</bug_when>
    <thetext>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 &apos;master&apos;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2490132</commentid>
    <comment_count>11</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2026-01-30 18:16:27 +0000</bug_when>
    <thetext>*** Bug 515241 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2490274</commentid>
    <comment_count>12</comment_count>
    <who name="Ilya Bizyaev">bizyaev</who>
    <bug_when>2026-01-31 10:37:47 +0000</bug_when>
    <thetext>*** Bug 485894 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>