spacedriveapp / spacedrive

Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust.
https://spacedrive.com
GNU Affero General Public License v3.0
29.33k stars 835 forks source link

[OneDrive] File list cannot be synchronized with Explorer #2516

Open ncwuguo opened 4 weeks ago

ncwuguo commented 4 weeks ago

Describe the bug

Snipaste_2024-05-29_10-48-40

As title, I also use Full re-index, but it still wrong.

Reproduction

No response

Expected behavior

No response

Platform and versions

Version: Alpha 0.2.14, Alpha 0.3.0
OS: Win 11 Home | 22635.3646

Stack trace

No response

Additional context

No response

HeavenVolkoff commented 3 weeks ago

Hello. Are you using any indexer rules apart from the default ones when you added the location? Is this location synchronized with some kind of cloud storage by any chance?

Additionally, have you tried deleting the location and adding it again from scratch? If the issue persists, would you be able to share this location with us? If you're not comfortable sharing it here on GitHub, you can send it to my email: vitor@spacedrive.com. However if the files contains any sensitive information could you at least share the directory hierarchy, by running the following commands in a CMD windows and then uploading the generated directory_hierarchy.txt file here:

cd C:\<PATH TO DIR>
tree > directory_hierarchy.txt
ncwuguo commented 3 weeks ago

If I try to delete the location and adding it again ,it works properly. Before encountering this problem, I deleted and re-added it can also be displayed normally. When I use it for a while, I don't know why it can't display the file list normally. I haven't had this problem yet, but I don't know if I'll have it again.

Additionally, this folder is a cloud storage, it's a folder in my onedrive. Maybe that's the point.

HeavenVolkoff commented 2 weeks ago

Additionally, this folder is a cloud storage, it's a folder in my onedrive. Maybe that's the point.

Most likely. Directories synchronized with cloud storage have some special characteristics in Windows that we are not handling at the moment. We already have an issue about this in our Linear. Additionally, I am currently working to add native support for cloud storage to Spacedrive. So, when this feature is ready the best course of action would be to replace your local location with one that directly connects to your cloud storage.