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
32.46k stars 950 forks source link

Files in renamed subfolders disappear #1827

Open kassah opened 11 months ago

kassah commented 11 months ago

Describe the bug

When renaming a directory via MacOS finder, after a bit of selecting around, the updated folder is found, however now it is empty.

Reproduction

  1. On Finder, create a folder "Temp" with subfolder "Subfolder" with a single image in it. (in my case an image taken by a Canon EOS R6 in Medium JPEG format)
  2. Add the "Temp" folder to a library.
  3. View the subfolder and photo within the temp folder.
  4. Return to just viewing the "Temp" folder
  5. Rename the "Subfolder" to "New Subfolder"
  6. Go to SpaceDrive settings, and return to "Temp" folder
  7. Observe that it picked up the updated "New Subfolder" folder name change.
  8. Go into the "New Subfolder"
  9. Notice that the image in the subfolder is no longer listed.

Expected behavior

I would have expected the image to be within the newly renamed subfolder.

Platform and versions

Installed Version: 0.1.3 (20231123.221535) on MacOS Sonoma 14.1.1 (ARM processor) - Updated to version via auto-update within applicaton.

System Versions of software (not used for compilation, but provided for completeness)
pnpm --version && cargo --version && rustc --version
7.0.1
cargo 1.60.0 (d1fd9fe2c 2022-03-01)
rustc 1.60.0 (7737e0b5c 2022-04-04)

Stack trace

No stack trace.

Additional context

Actions that do not resolve the issue

Workaround

This can be worked around by deleting the location and then re-adding it.

HeavenVolkoff commented 5 months ago

Is this still happening with the latest version?