Bug 513876

Summary: Day/Night switching doesn't work for GIF wallpapers even though wallpaper works correctly
Product: [Plasma] plasmashell Reporter: Erwin Iosef <rblade457>
Component: Day/night scheduleAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: kdedev, nate, vlad.zahorodnii
Priority: NOR    
Version First Reported In: 6.5.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Day/Night wallpaper badge in Orionids
No badge on user generated GIF wallpaper
Sample wallpaper

Description Erwin Iosef 2025-12-27 13:44:11 UTC
I've had this for quite some time, 'Switch dynamic wallpaper' settings work perfectly fine for both light and dark GIF wallpapers except when setting 'Based on Day/Night cycle`, the function seems to work fine for PNG images but not GIF for some reason even though they work perfectly fine as a wallpaper.

You can test this with any two GIF wallpapers, refer to https://www.reddit.com/r/kde/comments/1ohsvov/plasma_65s_daynight_wallpapers_how_to/ on making a user-directory installation.
Comment 1 TraceyC 2025-12-30 17:17:35 UTC
Thanks for filing this bug report. Unfortunately there isn't enough information for us to try to figure out what's happening. Please add information about your system as requested in the bug report template. Copy and paste this with the information into a new comment.

SUMMARY


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION


Thanks for your understanding
Comment 2 Erwin Iosef 2025-12-30 19:16:01 UTC
Yeah, sorry I forget that part always :)

Steps:
1) Get any 2 GIF wallpapers: https://imgur.com/gallery/pixel-art-gif-wallpaper-dump-dKalV
2) Follow instructions here: https://www.reddit.com/r/kde/comments/1ohsvov/plasma_65s_daynight_wallpapers_how_to/
  to create the directory structure of Day/Night wallpaper in "~/.local/share/wallpapers", you can use the Orionids wallpaper structure in "/usr/share/wallpapers/Next" for reference.
3) After creating the wallpaper, apply it in systemsettings, make sure 'Switch dynamic wallpaper' is set to "Based on the day/night cycle".

4) Plasma will set only the "image_dark" wallpaper across all times, but proper switching of 'light' and 'dark' images will happen when you set 'Switch dynamic wallpaper' to "Based on whether Plasma style is light or dark" or "Always use light/dark variant".

Interesting part: If you replace the GIF wallpapers for PNG/JPGs, they will switch properly with "Based on the day/night cycle" setting and they will also have the Day/Night badge as you can see with Orionids, where you can't with GIFs for some reason.

Operating System: Arch Linux 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Comment 3 Erwin Iosef 2025-12-30 19:17:33 UTC
Created attachment 188087 [details]
Day/Night wallpaper badge in Orionids
Comment 4 Erwin Iosef 2025-12-30 19:20:58 UTC
Created attachment 188088 [details]
No badge on user generated GIF wallpaper
Comment 5 Erwin Iosef 2025-12-30 19:28:51 UTC
Created attachment 188089 [details]
Sample wallpaper

Here's a sample of Day/Night GIF wallpapers for testing, note that the images inside are not mine in any respect.
Comment 6 Erwin Iosef 2025-12-30 19:29:31 UTC
Place them inside ~/.local/share/wallpapers/