Persist wallpaper change moments between runs

Bug #1025618 reported by Peter Levi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Variety
Fix Released
Low
Peter Levi

Bug Description

Every time Variety is run, it waits the full change period before changing the wallpaper. If the change interval is big (e.g. 1 day) and Variety is not running all the time, it may happen to never actually change the wallpaper. On wallpaper change the time should be persisted, and it should be read on start and taken into account when computing the initial wait interval.

Peter Levi (peterlevi)
Changed in variety:
importance: Medium → Low
Revision history for this message
Peter Levi (peterlevi) wrote :

Fixed this way: We persist the change times, but take the persisted time into account only when the change interval is long (>= 6 hours). Thus if the user changes the wallpaper rarely, they will still have it changed regularly even if Variety does not run all the time, or the PC is restarted, etc. If the user changes often (e.g. every minute), after they stop Variety and run it again after some time, they won't have the wallpaper change immediately, Variety will wait the full 1 minute before changing it. This is to avoid the impression that Variety always changes the wallpaper on start when users are using a short change interval.

Changed in variety:
status: New → Fix Committed
Peter Levi (peterlevi)
Changed in variety:
milestone: none → 0.4.9
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.