Skip to content

Fix remote filesystem check

Corey Berla requested to merge coreyberla/nautilus:filesystem_remote into master

If this is accepted, I can create MR's for other stable branches. This issue has occurs in 40, 41, 42 and nightly.

Files are flagged as remote in file->details->filesystem_remote through directory-async as folders are browsed. nautilus_file_get_filesystem_remote() incorrectly returns FALSE for child directories that have not been processed by directory-async on a remote filesystem. This causes the "Count Number of Files in Folders" options to not work correctly when set to "On This Computer Only". Rather than unnecessarily process all of the child folders, check whether filesystem_info_is_up_to_date==TRUE. If not, check whether the parent is remote instead.

Fixes: #2035 (closed)

Merge request reports