-
Notifications
You must be signed in to change notification settings - Fork 666
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
[2.2.4] Pause synchronization: Wrong UI in menus #5290
Comments
I can reproduce the problem. |
@ckamm not happening anymore (tested w/ Ubuntu 16.10 + OC 2.3.0~nightly20161110) but the menubar dropdown is still displaying the words: |
@SamuAlfageme I'm a bit confused about how this ticket's focus changed. In the future, feel free to close and make a new ticket for a follow-up issue. So, the remaining problem in the "syncing" or "Unknown status" message in the context menu? |
@ckamm I removed the And yes, the only remaining issue is to clarify in the context menu which is the state in which the client is left after pausing the sync cause it's kind of confusing. I just commented in here as I guessed it's somehow closely related to this issue. |
Some listeners detect whether a sync is finished by checking for isUpdatingEstimates and completedFiles >= totalFiles. But if a sync didn't transfer any files we never sent signal with these values. Now we do.
@SamuAlfageme I've done a small change with which I can't reproduce the problem anymore. It now says "Up to date" which is also wrong, but that state display is wrong a lot. I'll make a separate ticket about it: #5321 |
@ckamm I was testing this again with multiple accounts and the |
@SamuAlfageme You're saying that you clicked "Pause all synchronization" and the current sync gets aborted and one that was in the queue gets started? That shouldn't happen, but I'll try to reproduce. |
@SamuAlfageme This is an actual bug in the folder scheduling logic, great catch! :) |
Previously the last folder in the queue was scheduled, regardless of whether it was paused or not.
@ckamm working as expected now 👌. One small detail to consider if relevant is that the account that was being synced (not the one "waiting") is left in |
@SamuAlfageme I addressed that issue. |
When the tray icon menu of the owncloud client is used to pause a synchronization, the icon changes to indicate that the client has paused the sync, however in fact the sync is still running.
Using the option to pause the sync from within the application itself does work as it should (pause the sync)
Expected behaviour
When the menu option (from the tray icon) pause synchronization is chosen, the synchronization is paused.
Actual behaviour
When the menu option (from the tray icon) pause synchronization is chosen, the synchronization continues to run.
Steps to reproduce
nethogs
and verify owncloud client is sending datapause synchronization
from the tray icon menunethogs
the data being sent doesn't dropServer configuration
Operating system:
Unknown (ocloud.de provider)
Web server:
Unknown (ocloud.de provider)
Database:
Unknown (ocloud.de provider)
PHP version:
Unknown (ocloud.de provider)
ownCloud version:
9
Storage backend (external storage):
Unknown (ocloud.de provider)
Client configuration
Client version:
2.2.4
Operating system:
Ubuntu Desktop 16.04
OS language:
English
Installation path of client:
/usr/bin/owncloud
The text was updated successfully, but these errors were encountered: