Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows Bug] Open file in explorer fails if space is in the filepath #120

Closed
Loran425 opened this issue May 2, 2024 · 0 comments · Fixed by #123
Closed

[Windows Bug] Open file in explorer fails if space is in the filepath #120

Loran425 opened this issue May 2, 2024 · 0 comments · Fixed by #123
Labels
good first issue Good for newcomers Type: Bug Something isn't working as intended

Comments

@Loran425
Copy link
Collaborator

Loran425 commented May 2, 2024

Expected Behavior

Open file in explorer should open a the file explorer at the file path

Current Behavior

If the file path contains spaces explorer opens to another window (Documents on my machine)

Possible Solution

Check filepath for whitespace when utilizing open file in explorer
Only on windows, wrap the path with quotes to open the correct folder

Steps to Reproduce

  1. Create a library in a folder with whitespace in the path
  2. Right Click on a file
  3. Select Open file in explorer
  4. Check what folder it opened
@Loran425 Loran425 added Type: Bug Something isn't working as intended good first issue Good for newcomers labels May 2, 2024
SylviaSK added a commit to SylviaSK/TagStudio that referenced this issue May 2, 2024
CyanVoxel added a commit that referenced this issue May 4, 2024
Fix opening to a file with spaces in path on windows / #120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Type: Bug Something isn't working as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant