Unreliable Joplin mobile sync, solutions.. (save icon..)?

I have had numerous sync issues with Joplin and I think most of them are caused by Joplin mobile android. It might extend to IOS but I'm not sure as I've not used it on that side as much.

Root cause seems to be that often Joplin does not sync to server although you think it did. You edit a note on mobile, then switch app, go to home, edit note on desktop, then later you open Joplin mobile again and it finally starts to sync your old edits and this messes up things and content has even disappeared.

I just did a test, 1. added aaa on moblin mobile to NOTE1, switched app, 2. added bbb on desktop to NOTE1, 3. opened joplin on mobile so that it synced. After this I saw temporarily a different versions of NOTE1, as there was conflict so Joplin did 2 of them.

But after this one of them disappeared I don't remember anymore if it was aaa or bbb which disappeared but either of them did.

Some test results:

often after editing note in Joplin I change very fast to another app with home or multitask button. Even that "allow background activity is enabled" this seems to interrupt Joplin syncing the note and if you open the note next time lets say 48 hours in worst case it could be such long without syncing.

So there is at least 2 issues involved.

  1. Can Joplin mobile sync be made so that it works reliable even when switching apps...?

  2. How can user know if a note has been synced.

I know little about mobile programming so I am not sure how easy it is to solve 1. It does work with Standard Notes more reliably so it can be made more reliable but not sure how much work is involved and it is FOSS project.

  1. can be solved much more easily. If user has clear feedback of state of joplin (A. SYNCED TO SERVER AFTER LAST EDITS, B. NOT YET SYNCED TO SERVER) he can be prevent sync conflict by behaviour.

I suggest SYNC/SAVE button. In beginning as optional feature which is disabled as default. One potential place fo the button would be on right side of note title and left side of drop-down menu where you switch notebooks. Another (actually ergonomically better) would be in formatting bar at left (or right) end.

This button would be RED whenever there is changes that are not synced to server and green when note is in sync with server. Also if/when it is RED you could force a sync by pressing it if for some reason the auto sync did not went through.

Opinions? I know that this can be done in left sidebar at bottom but problem is that its hidden behind too many swipes and you should really see the sync state constantly when editing notes.

I have been following this issue for quite a while and feel your pain.

  1. Both the Android and IOS clients do not sync in the background at all. Once you leave the app it stops all syncing activity completely.

  2. There have been several attempts made at background sync and all have proved to be unreliable and so not implemented/released. Part of this is due to the design of the app and not wanting different code bases for each platform.

  3. When you edit - the clients do start a sync immediately upon edit in an attempt to get the sync done before you leave - but as you have found out this often isn't quick enough.

I completely agree with your suggestion of some sort of indication that a sync is ongoing so I can just wait for it to finish. I would even be happy with a red dot in the corner of the screen whenever a sync is running. Having to exit several screens to see the sync status every time I edit a note is a complete pain in my rear end.

NOTE: I am often in very poor service areas so my sync events often take several seconds to complete - those of you on high speed internet probably don't notice this at all.

I have good news for you. Check Show visual sync indicator feature of this plugin: GitHub - personalizedrefrigerator/joplin-plugin-extra-editor-settings: Adds additional settings to the Joplin note taking app's Markdown editor. · GitHub

Works like a charm for me on Android.

I have good news for you. Check Show visual sync indicator feature of this plugin

Yes, was going to mention this. But bear in mind if you use the rich text editor the sync indicator is not supported with that plugin.

However there is also a project in flight at the moment to improve the conflict resolution in Joplin, a notable feature being that conflicts which are not on the same line will be automatically merged, which includes mobile support. So hopefully this will help a great deal with the lack of background sync on mobile.

This is great news :heart:

Relevant links for anyone interested:

I always display notebook list. There's a sync status at the bottom.

I know. I use only single notebook (unless it is exception situation) so I don't have it visible. It consumes screen estate and with small display it is a problem.