client icon indicating copy to clipboard operation
client copied to clipboard

[QA] Explorer status for spaces remain spinning

Open gabi18 opened this issue 2 years ago • 14 comments

Seen with ownCloud-3.0.0.7681-alpha2.7681.x64.msi on Windows 10 21H2 / ocis.ocis-traefik.released.owncloud.works (2.0.0-Beta1)

Steps to reproduce:

  • create 'katherine' with role Space Admin on ocis.ocis-traefik.released.owncloud.works
  • start client and add account 'katherine' (VFS On)
  • on server: create new spaces
  • client: use "Add a space" to add the new spaces

Result: the spaces are added and get green check marks - but in 'Explorer' the status icons for the spaces remain spinning.

spaces-status-spinning

add-space4.log.gz

gabi18 avatar May 25 '22 10:05 gabi18

"Force sync", adding a file to the space or restarting the client don't help.

gabi18 avatar May 25 '22 10:05 gabi18

Could you try to reproduce this one with the latest build?

TheOneRing avatar Jul 05 '22 11:07 TheOneRing

I could reproduce the issue with ownCloud-3.0.0-daily20220711.7999.x64.msi.

spaces

add-NewSpace2.log.gz

Difference to initial report: there isn't a 'Spaces' folder any longer

gabi18 avatar Jul 11 '22 08:07 gabi18

Still broken on windows 3.0.0.8922-alpha9

HanaGemela avatar Nov 03 '22 09:11 HanaGemela

Could you check whether it is us or the windows explorer?

  • Press F5
  • Close and reopen the explorer

TheOneRing avatar Nov 03 '22 11:11 TheOneRing

I've added one Space and twice the Personal folder. The status icon is correct just for the first Personal folder. For the remaining two the status icon is wrong and reopening or refreshing the explorer doesn't help

HanaGemela avatar Nov 04 '22 11:11 HanaGemela

@erikjv please ping me for a short introduction before starting to work on the issue.

TheOneRing avatar Nov 18 '22 12:11 TheOneRing

Maybe enable the code in line https://github.com/owncloud/client-desktop-vfs-win/blob/master/vfs_win.cpp#L684 ? But I guess we have to do more status updates from the plug-in...

erikjv avatar Jan 25 '23 15:01 erikjv

For the record: the sync state for the folder containing the space is set to in-sync.

erikjv avatar Jan 26 '23 15:01 erikjv

I asked a question on the msdn forums: https://learn.microsoft.com/en-us/answers/questions/1179273/(cfapi)-how-to-set-the-state-of-the-sync-root-fold

erikjv avatar Feb 10 '23 14:02 erikjv

It's an issue in Windows, see the 4th comment on the link above. It's been "escalated" internally in MS, so we'll have to wait for a response.

erikjv avatar Feb 21 '23 10:02 erikjv

could be related: CfUpdateSyncProviderStatus https://learn.microsoft.com/en-us/windows/win32/api/cfapi/nf-cfapi-cfupdatesyncproviderstatus

TheOneRing avatar Aug 03 '23 11:08 TheOneRing

Issue on the github project: https://github.com/microsoft/Windows-classic-samples/issues/308

erikjv avatar Aug 09 '23 14:08 erikjv

could be related: CfUpdateSyncProviderStatus https://learn.microsoft.com/en-us/windows/win32/api/cfapi/nf-cfapi-cfupdatesyncproviderstatus

I tried that, including first resetting it with CF_PROVIDER_STATUS_CLEAR_FLAGS, but that didn't help. Maybe you can give it a try in case I did something wrong?

erikjv avatar Aug 09 '23 15:08 erikjv