After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 562097 - Automatic Background Synchronization
Automatic Background Synchronization
Status: RESOLVED FIXED
Product: tomboy
Classification: Applications
Component: General
0.12.x
Other All
: Normal enhancement
: 1.2.0
Assigned To: Sandy Armstrong
Tomboy Maintainers
sandy[affects-ui]
: 604079 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-11-24 08:17 UTC by jakob
Modified: 2011-06-04 22:59 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description jakob 2008-11-24 08:17:46 UTC
I would love to have a possibility to have timed syncs of tomboy notes. For example sync every 15 minutes. It was mentioned already in one comment of another bug, but to be sure it doesn't get overlooked, I created a seperate bug.

Thanks, Jakob
Comment 1 Sandy Armstrong 2008-11-24 14:01:41 UTC
Hmm, I guess there isn't already a bug for this.  Thanks for filing!

The way sync works right now, Bad Things could happen if notes were modified during the sync process, so the UI is blocked during sync.  This is why we don't currently have automatic sync in place.  This is all fixable, of course.
Comment 2 jakob 2008-11-25 11:59:37 UTC
Understandable. I don't know the usage habits of others, but I don't change the notes that often. I would be satisfied when the GUI would freeze during sync. (Maybe opening the sync dialog if some tomboy window is already focused.)

Jakob
Comment 3 Sandy Armstrong 2009-05-22 21:47:38 UTC
Some ideas for this are discussed on our wiki:

http://live.gnome.org/Tomboy/Synchronization/Background
Comment 4 Sandy Armstrong 2009-12-08 14:44:23 UTC
*** Bug 604079 has been marked as a duplicate of this bug. ***
Comment 5 Sandy Armstrong 2010-02-08 09:15:26 UTC
I've been working on this feature in a branch and plan on merging it for Monday's dev release:

http://git.gnome.org/browse/tomboy/log/?h=autosync

It's pretty basic; I think some improvements (like better conflict handling) will need to wait for next cycle.
Comment 6 Sandy Armstrong 2010-02-08 20:09:05 UTC
Pushed to master, pref disabled in UI (you need to tweak a gconf value to turn it on).  I'd say this is still experimental.  Testing appreciated, but please backup your notes.  Keep in mind that this trusts the server in the case of a conflict, so if you're using Ubuntu One you'll likely lose some data (U1 breaks bullet hierarchies and note titles with & in the name, and maybe other things).

I'll leave it on and hopefully get all outstanding issues resolved before the next release, so I can enable the prefs UI.

I'll either add info in this bug, or close this one and open new bugs, for all the outstanding issues.
Comment 7 David Gillies 2010-02-16 00:25:01 UTC
Where is the option to enable this in gconf? I'd like to test this out.
Comment 8 Sandy Armstrong 2010-02-16 05:25:34 UTC
/apps/tomboy/sync/autosync_timeout

For details, see: http://git.gnome.org/browse/tomboy/diff/data/tomboy.schemas.in?id=fd70ff2d1db8392484a7e6fab6f29eafb1fd20e2
Comment 9 Sandy Armstrong 2010-03-28 23:40:48 UTC
Whoops, forgot to mark this fixed.
Comment 10 riveravaldez 2011-06-04 22:59:02 UTC
Hi, I have no trouble with the UI being blocked during sync, but some notes KEPT BLOCKED after sync! Is that normal? Thanks :) (In reply to comment #1)

> Hmm, I guess there isn't already a bug for this.  Thanks for filing!
> 
> The way sync works right now, Bad Things could happen if notes were modified
> during the sync process, so the UI is blocked during sync.  This is why we
> don't currently have automatic sync in place.  This is all fixable, of course.