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

Fixed an issue where paths separated by '/' were not displaying properly #3096

Merged
merged 8 commits into from
Jan 17, 2021
Merged

Conversation

BrianAllred
Copy link
Contributor

@BrianAllred BrianAllred commented Jan 16, 2021

Fixes #3073. Also fixes going up when using '/' path separators.

@gave92 gave92 self-requested a review January 16, 2021 20:49
@gave92
Copy link
Member

gave92 commented Jan 16, 2021

@BrianAllred thanks for this PR. Could you verify if thumbnails in grid view are still shown when writing a path with forward slashes?
The simpler alternative might be to replace "/" with "\" in GetPathWithoutEnvironmentVariable() like you did in #3098

@BrianAllred
Copy link
Contributor Author

My only concern with that is forcefully changing the user's use of '/' to '\'. We'd have to be careful with that once WSL support is implemented and other filesystems come into play. But you're right, thumbnails are broken with my current changes, so changing it in GetPathWithoutEnvironmentVariable() is probably the better solution, at least for now.

@gave92 gave92 added the ready to merge Pull requests that are approved and ready to merge label Jan 16, 2021
@yaira2 yaira2 changed the title Fix paths separated by '/' not displaying properly. Fixed an issue where paths separated by '/' were not displaying properly Jan 17, 2021
@yaira2 yaira2 merged commit 15ebfff into files-community:master Jan 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Pull requests that are approved and ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using / as a path separator sometimes results in odd display
3 participants