syncthing-android icon indicating copy to clipboard operation
syncthing-android copied to clipboard

Temporarily ignore Sync Restrictions

Open alok0 opened this issue 9 years ago • 13 comments

If set to "Always run in background" and "Sync only on wifi" it prevents me from manually starting syncthing with the dialog box "Syncthing is disabled"

Feature Request: The "Syncthing is disabled" dialog should have options other than "Exit" and "Change Settings". Perhaps a "Manually enabled" for one session, or "Enable for 15 minutes".

Sometimes I just need to pull down a file that didn't make it while I was at home.

alok0 avatar Oct 25 '16 01:10 alok0

So you are connected to Wi-Fi and it does not see it? What does pull down mean? By mobile?

licaon-kter avatar Oct 25 '16 06:10 licaon-kter

As I understand it, he is on the go (no wifi) and wants to sync some files to the phone, which weren't synced at home (no time left).

So instead of going into setting to disable "only on wifi" for a while, he wants an option in the "Syncthing is disabled" dialog to do that (disable "only on wifi" + after some time reenable it) automatically.

wweich avatar Oct 25 '16 08:10 wweich

I though so much, but, since you open settings you can just do that anyway.

licaon-kter avatar Oct 25 '16 10:10 licaon-kter

I think an option to "manually enable" would be too complicated, and also mean that you use mobile data. Is your intention to sync data, or just to access the GUI?

Nutomic avatar Oct 25 '16 10:10 Nutomic

I want to sync on a mobile network for just one time,
without changing any settings.

alok0 avatar Oct 25 '16 13:10 alok0

I've been thinking about this for some time myself. One of the main questions is, what is "just one time"? For the next 5 minutes? Until at least one server is in sync? It's rather complicated :/ For me at the moment, the easiest is to disable the "On WiFi only" for that and re-enable once synced. Any ideas, how one could approach this?

capi avatar Oct 25 '16 19:10 capi

what about just while the app is in the foreground?

alok0 avatar Oct 25 '16 19:10 alok0

I also would like to see this; I sync my notes/todo lists/etc with syncthing, and say I make a change to my todo list on my phone, I want it to propagate to my computer before I plug in at home for the night. I'd be happy either with a timeout (15 minutes, or maybe user choice), being able to start the daemon and have it run until the user stops it, or maybe even start the daemon, and run it until all repositories are synced completely. The ability to chose between these options would be really cool.

If I were to design the UX, I'd do something like:

  • Get rid of the "Synthing is disabled" dialog.
  • When settings prohibit synthing from running, instead of the "folders | devices" fragments, show another activity that says something like "the Syncthing service is stopped because of your sync preferences."
  • On this activity, add buttons for:
    • Start now (eg, run until user stops service)
    • Run until synced
    • Run for X minutes
    • Change settings
  • When the user starts the service, return to the main Activity
  • Add a "Stop Syncthing service" button to the main UI (or the nav drawer) when the user has manually started the service.

bradmont avatar Nov 03 '16 15:11 bradmont

An other idea would be able to select the file i wish from the not-in-sync list.

Mannshoch avatar Mar 17 '17 22:03 Mannshoch

Partly related: https://github.com/syncthing/syncthing-android/issues/886

Catfriend1 avatar Aug 06 '18 16:08 Catfriend1

See #1031 for more discussion on "when to stop syncing". My suggestion is this.

felixwiemuth avatar Aug 11 '18 22:08 felixwiemuth

Any news? Plans to merge https://github.com/Catfriend1/syncthing-android/pull/443 to Mainline Syncthing for example?

The last comment from #1578 is also related btw.

Thomas131 avatar Jul 21 '21 12:07 Thomas131

Referencing "The last comment" does not age well.

claude-cp avatar Nov 30 '21 11:11 claude-cp