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

Logged out accounts stay "Waiting" if unpaused #5477

Closed
SamuAlfageme opened this issue Jan 19, 2017 · 5 comments
Closed

Logged out accounts stay "Waiting" if unpaused #5477

SamuAlfageme opened this issue Jan 19, 2017 · 5 comments
Assignees
Labels
ReadyToTest QA, please validate the fix/enhancement sev4-low type:bug
Milestone

Comments

@SamuAlfageme
Copy link
Contributor

Thought I had already reported this:

Expected behavior

It's not possible to click (i.e. button disabled) on resume either in the tray menu or the account view for any folder sync connection when the account is logged out.

Actual behavior

It's indeed possible and the account is "Waiting...".
waiting...

Steps to reproduce

  1. Pause a folder sync connection
  2. Log out of the FSC's account
  3. Resume the sync of the FSC
@ckamm
Copy link
Contributor

ckamm commented Jan 20, 2017

What happens here is that whether a folder is paused and whether an account is logged in are orthogonal. When the account is logged out and you resume a folder, the folder gets queued. But it can't sync, so it just shows "Waiting...".

We could adjust the text to say "Waiting for connectivity" or something. Would that make sense to you, @SamuAlfageme ?

@SamuAlfageme
Copy link
Contributor Author

@ckamm hm, I was looking at this as a single state for the account (logged out) rather than 2 (logged out paused/unpaused) for the folder sync connection. But it makes sense to differentiate up to some point. The user might want to log in and start the sync/with it paused.

We can settle with a label change to clarify; something like you suggest.

@ckamm ckamm self-assigned this Jan 24, 2017
ckamm added a commit to ckamm/owncloud-client that referenced this issue Jan 24, 2017
Previously if you paused/unpaused a folder for a disconnected account
they would prepare to sync and thus display the 'Waiting...' text. With
this change, folders that can't possibly sync don't show text like
this.

When account connectivity changes, all unpaused folders will be
scheduled anyway.
@ckamm
Copy link
Contributor

ckamm commented Jan 24, 2017

Trivial fix in https://github.com/ckamm/owncloud-client/tree/folder-ui-msg (I didn't change the message, but just treat these folders similar to paused folders, which removes the inconsistency)

@ckamm ckamm added the ReadyToTest QA, please validate the fix/enhancement label Jan 24, 2017
@ckamm ckamm added this to the 2.3.0 milestone Jan 24, 2017
@ckamm
Copy link
Contributor

ckamm commented Jan 24, 2017

@SamuAlfageme Merged into 2.3 branch.

@SamuAlfageme
Copy link
Contributor Author

Nice! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ReadyToTest QA, please validate the fix/enhancement sev4-low type:bug
Projects
None yet
Development

No branches or pull requests

2 participants