Bug 491002

Summary: Slideshow wallpaper changes when turning off and on the monitor, even if this would be too early based on the chosen switching frequency
Product: [Plasma] plasmashell Reporter: Roguefort <bugs.box>
Component: Image & Slideshow wallpaper pluginsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: kde, nate, notmart, qydwhotmail
Priority: NOR    
Version First Reported In: 6.1.3   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of the settings that I use

Description Roguefort 2024-07-29 21:19:18 UTC
Created attachment 172113 [details]
Screenshot of the settings that I use

SUMMARY

I have a wallpaper presentation of my favorite wallpapers on a folder. I've set it to change every 24 hours, but ever sine KDE Plasma 6.0 that I've noticed that whenever I turn off my monitor and turn it back on, the wallpaper changes despite not having restarted the PC (which changes the wallpaper). As such, it fails to respect my defined settings.

STEPS TO REPRODUCE

1. Go to Desktop configuration/wallpaper configuration page
2. Select the "Presentation" wallpaper type
3. Set up a collection of at least 2 or 3 wallpapers
4. Set time of at least 5-10 minutes (as long as it's longer for you to turn off the monitor and turn it back up and wait for video signal)
5. Turn off the monitor
6. Turn it back on

OBSERVED RESULT

The wallpaper changes regardless of user defined timer

EXPECTED RESULT

The wallpaper doesn't change

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.11-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION

The wallpaper doesn't change on locking the user session and it appears that it doesn't too when suspending to RAM/Sleep and resuming from it.
Comment 1 Roguefort 2024-07-29 21:20:50 UTC
It doesn't seem to happen on KDE Plasma 5.27.
Comment 2 Nate Graham 2024-07-30 16:54:11 UTC
Can reproduce; disconnecting and reconnecting a screen makes it get a new image, even if it's too early based on the slideshow timing.
Comment 3 Marco Martin 2024-09-16 11:23:32 UTC
confirm.
the thing is that disconnecting and reconnecting (and in some screens also just turning them off) destroyes and recreates the wallpaper object, and the timing is kept in the WallpaperInterface componet.

The only way i see is to start saving on the config file also how much time elapsed (maybe just on destruction to avoid way too many disk writes)