Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot toggle "start at login" #25

Closed
svandragt opened this issue Mar 22, 2017 · 5 comments
Closed

Cannot toggle "start at login" #25

svandragt opened this issue Mar 22, 2017 · 5 comments

Comments

@svandragt
Copy link

svandragt commented Mar 22, 2017

When I open the preferences "Start at login" is ticked for me.

  • I untick it
  • I press the close button on the window.
  • I reopen the preferences

Expected: "Start at login" is unticked
Observation: "Start at login" is ticked.

Also I suspect it's not changing whether Syncthing is launched at login, but I haven't rebooted yet. I assume I should see a Lingon message because it monitors login items, but I didn't.

0.14.8-2

@xor-gate
Copy link
Member

xor-gate commented Mar 22, 2017

Currently it is only stored/removed when the save button is clicked (i have tested it). You can see it by putting Preferences - Users & Groups -> Login items next to it and try it.

The solution would be to sync the configuration immediate after window is closed. Independent of the host and API verification.

@xor-gate xor-gate added the bug label Mar 22, 2017
@svandragt
Copy link
Author

The save button is greyed out and is never enabled regardless of changes to the URL, API Key or the start at login button.

@xor-gate
Copy link
Member

You first have to "test" the URL and API key if a connection could be made, but that must be separated from the saving of the "start at login" config option.

@svandragt
Copy link
Author

I see it is saved now, thanks for your help xor-gate.

The missing step for me was that I had to enter GUI Listen Addresses and API Key from the Syncthing Web UI Settings into the Syncthing menubar preferences screen, and press test. The test button turns green.

I can then toggle the startup on login checkbox, press test which enabled the save button, then save. Only then is the "Start at login" checkbox saved.

I guess as a new user I would have assumed that the web UI links up with the syncthing proces without my help, but that's ok. Thanks again.

@xor-gate
Copy link
Member

xor-gate commented Mar 22, 2017

Yes you are right, that is a good assumption. There is already some work prepared to have it auto-configured (from the XML file syncthing creates) and link with the syncthing process. I will reopen this as it is not 100% intuitive and we need some work on this.

Thanks for your report!

@xor-gate xor-gate reopened this Mar 22, 2017
@xor-gate xor-gate added this to the v0.14.30-1 milestone Jun 27, 2017
virusman added a commit to virusman/syncthing-macosx that referenced this issue Jun 29, 2017
@virusman virusman mentioned this issue Jun 29, 2017
@syncthing syncthing locked and limited conversation to collaborators Jan 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants