Page MenuHome

Ever since 3.0 picture files in Dropbox folder will not load/fetch thumbnails
Closed, ArchivedPublic

Description

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.79

Blender Version
Broken: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: rBcc66d1020c3b
Worked: 2.93

Short description of error
When using file viewer, if you explore a Dropbox synced folder none of the image files will display a thumbnail, synced or online only. The files being viewed will not get fetched for syncing either. I keep my Dropbox folder on a secondary mass storage drive (D: ) but do not know if that effects anything.

Exact steps for others to reproduce the error
Image texture node > open image > navigate to and explore Dropbox synced folder with images either synced or smart synced

Event Timeline

Casey (BagelCo) updated the task description. (Show Details)

Could you explain your situation a bit better? The one image does not tell the story unless we also know the actual state of those files.

Some of the files in your capture indicate that they are offline (the globe and arrow icon on the bottom left). This would indicate that those files are not locally available - have either file attribute FILE_ATTRIBUTE_RECALL_ON_OPEN or FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS. We are specifically not creating thumbnails for files in that state because it causes them all to be downloaded, which users (rightfully) complained about. We do however, will SHOW thumbnails for files in that state if already made. As in you can make them available (by using whatever process to download and make them local), view thumbnails, then take offline again.

Other files in your capture are indicating that they are shortcuts or aliases (symlink, reparse point, junction point, mount point, hard link, etc). We do attempt to create thumbnails to shortcut targets, but only if those targets are locally-available.

Could you explain your situation a bit better? The one image does not tell the story unless we also know the actual state of those files.

Some of the files in your capture indicate that they are offline (the globe and arrow icon on the bottom left). This would indicate that those files are not locally available - have either file attribute FILE_ATTRIBUTE_RECALL_ON_OPEN or FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS. We are specifically not creating thumbnails for files in that state because it causes them all to be downloaded, which users (rightfully) complained about. We do however, will SHOW thumbnails for files in that state if already made. As in you can make them available (by using whatever process to download and make them local), view thumbnails, then take offline again.

Other files in your capture are indicating that they are shortcuts or aliases (symlink, reparse point, junction point, mount point, hard link, etc). We do attempt to create thumbnails to shortcut targets, but only if those targets are locally-available.

According to Dropbox 9 of those files are locally on the HDD:


these are all .png files but Dropbox does have some file stream alias thing for smart synced files, before on Blender 2.9x it would just fetch and download those files now it just simply doesn't display thumbnails at all

@Casey (BagelCo) - According to Dropbox 9 of those files are locally on the HDD:

That capture is showing 53 files. It shows only 10 of those files as being locally accessible (green arrow ), while the other 43 are not local (grey cloud) and would have to be downloaded before a thumbnail could be made.

before on Blender 2.9x it would just fetch and download those files now it just simply doesn't display thumbnails at all

Yes, this is a change in behavior in response to user complaint. They did not want all their files to be downloaded simply because they browsed there while in thumbnail mode. This could take quite a long time if the files are large and/or the connection is slow.

But you can still get thumbnails yourself. Just make the files local, view in thumbnail mode, then take the files offline again. Afterward we should still show the existing thumbnails even though we won't make new ones while in the offline state.

If I'm not mistaken, not loading the thumbnail of non-local files was an intentional change to avoid problems like T87621: The Blender File Open dialog triggers OneDrive Files On-Demand downloads

I tried implementing a feature that reads thumbnails from Thumbs.db file:
D11100: Windows: request the OS for a thumbnail or icon

This would work around the problem. But the feature was never finalized.

So in my view this is a trade-off between displaying thumbnails and inadvertently loading files from OneDrive.

@Casey (BagelCo), does what I said make sense to you?

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Needs Information from User.Apr 6 2022, 4:37 PM

No activity for more than a week. As per the tracker policy we assume the issue can be closed.
As mentioned, the problem was a trade-off between displaying thumbnails and inadvertently loading files from OneDrive.