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

[QA] Win VFS status icon only set correctly after sync is forced #8926

Closed
gabi18 opened this issue Aug 19, 2021 · 8 comments
Closed

[QA] Win VFS status icon only set correctly after sync is forced #8926

gabi18 opened this issue Aug 19, 2021 · 8 comments
Assignees
Milestone

Comments

@gabi18
Copy link
Contributor

gabi18 commented Aug 19, 2021

Seen with 2.9.0beta1 (build 4915) on Win10 20H2

Steps to reproduce:

  • start client and open folder in Explorer
  • create a new folder in syncroot
  • press "Enter" twice, remain inside the newly created folder for more than 30s

Result:

  • the new folder is created on the server, no entry in 'Sync Protocol' tab
  • a message "Setting file status due to lock failed" appears in 'Not Synced' tab
  • the status icon remains 'spinning' for the new folder
  • the status icon doesn't change when leaving the folder after longer than 30s
  • the message in 'Not Synced' tab disappears
  • after a 'Force Sync' the icon is set correctly to cloud icon
  • 'Sync Protocol' tab shows message "Downloaded" "New folder"
    download

Expected result:

  • Synced tab should show uploaded, spinning icon should change to cloud icon when folder is uploaded

20210819_0737_owncloud.log.1.gz
20210819_0737_owncloud.log.0.gz
20210819_0730_owncloud.log.0.gz

@gabi18 gabi18 mentioned this issue Aug 20, 2021
39 tasks
@jnweiger
Copy link
Contributor

jnweiger commented Sep 7, 2021

Restested with 2.9.0 RC1 on both, win10_20h2 and win10_21h1

  • after a few seconds the circling arrow disappear, as expected. OK.
  • cannot reproduce

@github-actions
Copy link

github-actions bot commented Oct 8, 2021

This issue was marked stale because it has been open for 30 days with no activity. Remove the stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Oct 8, 2021
@TheOneRing TheOneRing removed the Stale label Oct 8, 2021
@TheOneRing TheOneRing added this to the 2.9.1 milestone Oct 8, 2021
@TheOneRing TheOneRing mentioned this issue Oct 8, 2021
46 tasks
@gabi18
Copy link
Contributor Author

gabi18 commented Oct 8, 2021

Retested with testpilot 2.9.1rc1

Create a new folder in Explorer and press 'Enter' twice, stay inside the folder.

Result:

  • account icon remains spinning for a while
    spinning_account

  • the newly created folder is synced to the server, entry in 'Server activity' - but NO entry in 'Sync Protocol'

Neuer_Folder

  • the 'Not synced' tab shows "the folder is currently in use ..., "i" icon is shown on account

currently_in_use

  • close the Explorer, reopen and check status icon -> still spinning, account icon shows "i"

still_spinning

  • close Explorer, 'Force sync' or 'Retry sync' on right click menu of entry in 'Not synced' tab: 'Not synced' entry disappears, green icon on account and cloud icon when reopening Explorer

all_okay

@gabi18
Copy link
Contributor Author

gabi18 commented Oct 8, 2021

For me the behavior is OK, the status icon cannot be set as long as Explorer is open, "i" icon indicates that there is a problem. After closing the Explorer and resync everything is fine.

Somehow misleading is that the 'Not Synced' tab shows the folder and notification says not synced - but the folder was synced to the server already.

notification

@TheOneRing
Copy link
Member

Thx for testing thats the now expected behaviour, however it should also work with out a force sync.

@TheOneRing
Copy link
Member

(Just after some time)
But the error state is tracked so I can close the issue for now.

@gabi18
Copy link
Contributor Author

gabi18 commented Oct 11, 2021

Additional tested (with client 2.9.1rc2)

  • create a new folder in Explorer and press 'Enter' twice
  • create a new text document inside the new folder, edit the file

Result:
Client shows the "i", 'Sync Protocol' has entry uploaded new file,
folder and file are synced to the server

  • edit the file on server while Explorer is still open

Result:
File with new content is synced to the client, 'Sync Protocol' has entry downloaded new file

Also here: everything is fine (client has green check mark, reopened Explorer shows the green vfs-check mark for the folder) after closing the Explorer and do a resync/force sync.

@gabi18
Copy link
Contributor Author

gabi18 commented Jan 5, 2022

Confirmed fixed with ownCloud-2.10.0-rc3.6417.x64.msi (VFS ON).

  • 'Sync Protocol' shows Uploaded NewFolder
  • icon for NewFolder changes correctly to cloud icon (despite remaining more than 30 seconds inside the folder and without a Force sync)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants