Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why adding a shuffle feature ?
The first time I installed Lively I wanted to automatically switch to new random wallpaper after some time, but I could not. So I decided to add this feature myself as I feel it's a crucial one. For the user it adds a new button which open a little menu where he can choose to enable/disable the feature and change the delay (see screenshot). After that, the user can do something else on his computer and the wallpaper will automatically change after some time, which I find really convenient :)
From a technical aspect.
The core of the shuffle loop is located in the TimerService.cs file, the loop is created at the begining, if the setting DoRandomWallpaper is set to true and using the TimeToChangeWallpaper setting as the intervall. Once Lively is launched the loop can be enabled/disabled/modified using the UI (ShuffleView and ShuffleViewModel).
That's it, I hope you will accept this feature as I feel it is a crucial element for such a program :)