WhitewaterFoundry / Raft-WSL-Feedback

Place to create and follow issues about the application Raft WSL
7 stars 2 forks source link

Raft WSL Crashes if Snapshots Location is Unavailable or Permission not Granted #36

Open killshot13 opened 9 months ago

killshot13 commented 9 months ago

Issue Summary

If the expected (last used) Snapshot location is not currently mounted and accessible, Raft WSL will crash. For example, I keep my WSL snapshots backed up on a flash drive. If the drive is not plugged in and mounted in the file system and I click the Snapshots tab, Raft WSL freezes for a few seconds and then crashes completely, closing the program window. This behavior also occurs if Raft WSL does not have the required permissions for the target folder.

Steps To Reproduce

  1. Open Raft WSL.
  2. Change the default Snapshots location by assigning a file path to a thumb drive or similar dynamic storage already mounted and accessible.
  3. Close Raft WSL
  4. Unmount the drive and check File Explorer to verify the inaccessible path.
  5. Open Raft WSL.
  6. Select the Snapshots tab to see this issue yourself.

Expected Behavior

If the location cannot be read, an error message appears, saying, "Snapshot location is not available right now," and maybe even have a shortcut to edit the path without changing tabs.

System Info

Attached Files

See Video of Issue