droidcam icon indicating copy to clipboard operation
droidcam copied to clipboard

Windows client doesn't support folder names with spaces

Open alessandro-antonelli opened this issue 2 years ago • 0 comments

Setup: DroidCam Windows Client version 6.5.2 running on Windows 10

Describe the bug

  1. In the windows client menu bar, select DroidCam -> Settings
  2. In the "general" tab, look for "JPG Save Folder"
  3. Select a folder whose path has a space in it, for example: D:\Alessandro Antonelli\Immagini\DroidCam
  4. Click "Save"
  5. Close the client app

Expected behavior After reopening the Windows client app, the "JPG Save Folder" path is still the same chosen above.

Actual behavior After reopening the Windows client app, the "JPG Save Folder" path is truncated to the first space, in my case: D:\Alessandro This leads to the entire "Save to JPG" feature not working, with the image not saved at all anywhere, without any error message or notice given to the user.

Additional context Settings are stored in file C:\ProgramData\droidcam-settings. Saving to the file seems to work fine: when changing the setting and closing the app, the setting file contains the right folder path. The bug seems caused by how the windows client reads the settings file at the next startup.

alessandro-antonelli avatar Dec 05 '23 17:12 alessandro-antonelli