Blender Git Commit Log

Git Commits -> Revision ee5ad46

Revision ee5ad46 by Harley Acheson (master)
May 19, 2021, 15:40 (GMT)
Fix T87621: Win32 Do Not Create Preview Thumbnails for Offline Files

This patch turns off the creation of file thumbnails for files that are
offline and therefore not fully-present on the file system. These types
of files - typically cloud-based or stored on slower backup media -
only have their contents available when actually accessed, at which
point there will be a short delay. If we allow thumbnail creation in
this state then all offline files in a folder will be downloaded just
to view a listing, which can take a long time.

Files in this state will instead get a more generic thumbnail that
still indicates file type (icon in center) and that shows offline state
will a special icon at the bottom-left.

Although this currently only affects Windows users, most of this patch
is platform-agnostic. So other platforms inherit this behavior if they
only add FILE_ATTR_OFFLINE attribute to files in this state.

See D11101 for more information.

Differential Revision: https://developer.blender.org/D11101

Reviewed by Julian Eisel

Commit Details:

Full Hash: ee5ad46a0eadf6e9e42868760ad2343d412614d7
Parent Commit: 0fa4286
Lines Changed: +13, -6

4 Modified Paths:

/source/blender/blenlib/BLI_fileops.h (+1, -1) (Diff)
/source/blender/blenlib/intern/storage.c (+2, -1) (Diff)
/source/blender/editors/space_file/filelist.c (+5, -0) (Diff)
/source/blender/editors/space_file/file_draw.c (+5, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021