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

FR: Add ability to "Start a sync cycle now"

Open JohnVeness opened this issue 1 year ago • 2 comments

Description of the issue

I have "Run according to time schedule" ticked, so that it runs for 5 minutes once an hour. This works fine generally, but sometimes I want to sync some changes immediately without having to wait up to an hour for the next cycle.

At the moment, I do this by changing, in Status, from "Follow run conditions" to "Force start ignore run conditions", wait for whatever it is to sync, then change it back to "Follow run conditions".

There are a couple of problems with this current workflow:

  1. I get impatient sitting at the Status screen, not knowing whether the thing I wanted has synced or not, so sometimes I click back to "Follow run conditions" too early and find that I haven't actually got the file I wanted yet!

  2. If instead of clicking "Follow run conditions" I look elsewhere to see if the file I wanted has synced, I often get distracted and start working on the file, leaving syncthing in "Force start" mode for hours, wasting battery!

I would like to propose a button we can press to force start a sync cycle now, for whatever duration is currently configured in the settings, without having to manually press "Force start" and remember to press "Follow run conditions" X minutes later. Or to put it another way, a button to add 60 minutes to the timer so that an automatic sync cycle starts and runs for the configured duration.

Version Information

  • App Version: 1.23.6.9
  • Syncthing Version: v1.23.6
  • Android Version: Android 13.0
  • Device manufacturer: Samsung
  • Device model: Galaxy A54

JohnVeness avatar Sep 15 '23 12:09 JohnVeness

I've just noticed that there's a Quick Panel button ("Run for 5 minutes") that can be added that does exactly what I want! So most of this can be ignored.

The only thing I would suggest is to have a "Run for 5 minutes" button in the main UI too.

JohnVeness avatar Sep 17 '23 13:09 JohnVeness

I've just noticed that there's a Quick Panel button ("Run for 5 minutes") that can be added that does exactly what I want!

Nice, thanks for that hint! I didn't know about his.

What I'm still missing is a feature to add this button to my home screen and temporary disable sync restrictions like "only Wifi" mode. That would be awesome if one would like to use only Wifi by default, but mobile data for a few minutes if forced to. This button already exists in the main UI but I don't know how to trigger it from somewhere else.

theraser avatar Aug 08 '24 19:08 theraser