Am Montag, den 24.01.2011, 08:04 +0100 schrieb Patrick Ohly:
On Mo, 2011-01-24 at 00:40 +0000, David Vredenburgh wrote:
> I have set up sync-ui to get my contacts/calendar into Evolution and it all
> works well. However, I cannot find any documentation on the sync-ui tool (I am
> on Ubuntu 10.04 running Gnome) to answer my newbie question of *when* does the
> synchronization occur?
You are right, and we know about this limitation. Unfortunately there
was no time to do anything about it:
http://bugs.meego.com/show_bug.cgi?id=1020
Just as a side note: Maybe Genesis can be of some help here. Genesis
sits in the notification tray and will show an animation + sync result
report every time syncevolution syncs, including automated syncs. This
does not really fix the problem of being unable to predict when the next
sync will be, but it at least tells you when a sync has completed.
autoSyncDelay:
An automatic sync will not be started unless the peer
has been available for this duration, specified in seconds
or 1h30m5s format.
This prevents running a sync when network connectivity
is unreliable or was recently established for some
other purpose. It is also a heuristic that attempts
to predict how long connectivity be available in the
future, because it should better be available long
enough to complete the synchronization.
By the way, what is the heuristic to find out whether network
connectivity is available? I just recently had a bug report in Genesis
that turned out to be based on an issue with SyncEvolution: When
autoSync is switched on and one suspends the computer, it will attempt
to sync right after resume (if the sleep interval is longer than the
autoSyncInterval). But it is very probably that NetworkManager has not
yet established a network connection, thus making the sync fail.
I remember that currently network detection works only with ConMan, and
not with NetworkManager. And probably this issue is already known, but
resources are limited. I just wanted to point this out. Maybe it is a
reason to add NetworkManager support, or maybe it’s easier to detect
resume from sleep and wait autoSyncDelay before attempting to sync.
(Resume detection is relatively trivial with upower, I temporarily added
it to Genesis while trying to debug that issue.)
Cheers,
Frederik