Bug 396622 - Dynamic Background Wallpaper Plugin
Summary: Dynamic Background Wallpaper Plugin
Status: RESOLVED LATER
Alias: None
Product: plasmashell
Classification: Plasma
Component: Image & Slideshow wallpaper plugins (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-18 08:09 UTC by somnium
Modified: 2018-07-18 09:28 UTC (History)
2 users (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 somnium 2018-07-18 08:09:59 UTC
Based on the idea of the dynamic background in the new macOS Mojave, I would like to see this feature in KDE Plasma.

The idea is to define a Wallpaper (e. g. Folder with a set of images) and change it according to the time of day. When there are 10 images in the folder, you change the image every 24/10 = 2,4 hours. And the starting image is choosen based on the time of day, e. g. the day goes from midnight to midnight and you log in 12 o'clock, then you choose image 5 or 6 from the 10 images in the folder.

This feature request can be realized by enhancing the slideshow/image wallpaper plugin in plasma-workspace. Basically there should be no random choice of image, but sequential choice based on the file list (one image after another) and the starting image is chosen based on the time of day. Secondly the intervall of image change should be calculated internally (24 hours / number of images in folder). Finally it would be nice, but not necessary, when the dynamic background is shown like in the image plugin not slideshow plugin (folder view), so there is only one image, which represents a folder. The image could have an overlay which shows that it is dynamic.

I investigated the slideshow/image plugin, but couldn't figure out where to start, e. g. where the random choice is done.

Thank you very much.
Comment 1 David Edmundson 2018-07-18 09:28:31 UTC
Thanks, but I don't ideas for entire new projects on the bug tracker for the core platform.

It's the sort of thing that's perfect for the store, rather than our core platform.

>I investigated the slideshow/image plugin, but couldn't figure out where to start, e. g. where the random choice is done.

That's done in Image::nextSlide() in image.cpp.
I'll see about making that C++ backend cleaner and more generic so it can be more easily tweaked.