Skip to content

Windows client doesn't support folder names with spaces #266

@alessandro-antonelli

Description

@alessandro-antonelli

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions