Am Donnerstag 28 Mai 2009 17:54:24 schrieb Aaron J. Seigo: > > PS: By the way, there is a bug about time configuration. By default, > > update interval of digital-clock plasmoid is 60 seconds when showSeconds > > is false, and 1 second if it's true. If you change time from clock kcm > > and showSeconds is false, digital-clock applet refreshes itself 1 minute > > later. Maybe updateInterval should be hardcoded as 1 second regardless of > > showSeconds variable. > > waking up 60x more often than necessary is a really good way to reduce > battery life. the clock doesn't update once a minute just because it's lazy > ;) > > as Daniel points out, the correct solution is a dbus signal (probably from > kded4) that we can listen to. There is a much more common issue then when changing the time from kcm: When waking up from suspend, the clock shows the time when the computer was suspended instead of the current one, for avg. half a minute. This makes a buggy appearance to the user, and is annoying. So should you decide to listen to a signal instead of updating more often, don't forget also listening for Solid::resumed() or something like that.
Greetings, David _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel