View Issue Details

IDProjectCategoryView StatusLast Update
0000024ResonicUsabilitypublic2024-12-21 21:38
Reporterspice3d Assigned ToTom  
PriorityimmediateSeveritymajorReproducibilityalways
Status resolvedResolutionnot fixable 
Platform_OSWindowsOS Version10
Product Version0.9.3 
Summary0000024: Space character at end of path name ignored
DescriptionIf there is a space character at the end of a path name, the subdirectories and files below it will be ignored.
Steps To ReproduceNOTE: Windows does not let you create a folder with a space at the end of its name.
1. On Mac, create a folder with a space at the end of its name.
2. Create a subfolder and put a sample file in it.
3. Compress the folder with a space in its name.
4. Copy the compressed file to the Windows PC
5. Uncompress the file into one of the Resonic libraries.

You will see the folder but you can't see the subfolder nor the sample file. I've attached an example compressed file.
TagsNo tags attached.
Attached Files
SpaceAtEnd.zip (96,294 bytes)
Resonic Build (Number)
Resonic Player

Activities

Tom

2024-12-16 10:51

administrator   ~0000023

This is a long-standing one. Let me just quote my lines from the current changelog:

"Folder names that end with a space on Windows are a complete mess.
While practically they shouldn't be possible on Windows technically they are.
Some archive programs may create folders that end with one or more spaces, created on another operating system.
Explorer will show them, and you'll be able to enter them, but:
- Explorer fails on rename, source and target folders are the same, because it trims the spaces
- Explorer fails on copy/move, source does no longer exist, because it trims the spaces
- Cmd fails in general on all operations
- PowerShell fails in general on all operations
- Resonic can list files inside folders that end with spaces
- Resonic is unable to list folders inside folders that end with spaces
Since Resonic uses Explorer-compatible operating system routines there is no reliable way to work
 around this issue without taking larger parts of the program apart at this point."

For short: no program should technically be allowed to create folder names that end with spaces. Many programs will fail handling them.

Just handling them does not help the user, especially if the user is an audio person.
For a start I will mark such folders in Resonic visibly so that users see there is an issue with it.
Next up I will offer a right-click function to allow users to fix these folders with a click.

Thank you for the test .zip, it helped a lot!

Tom

2024-12-21 21:38

administrator   ~0000034

From 0.9.5+:
Resonic uses Explorer-compatible operating system routines and while there is no reliable way to work
 around this issue we decided to visualize the actual trailing spaces with middle dots and mark such folders
  in the browser with "trailing spaces".
We also implemented the command 'Fix trailing spaces' which attempts to either remove or replace these spaces.
 It can be accessed from the right-click menu for such folders.
It's really in your interest to try to remove trailing spaces from folder names on Windows whenever
 you encounter them. Resonic helps you with this task.

Issue History

Date Modified Username Field Change
2021-02-10 16:53 spice3d New Issue
2021-02-10 16:53 spice3d File Added: SpaceAtEnd.zip
2024-12-16 10:51 Tom Note Added: 0000023
2024-12-16 11:15 Tom Assigned To => Tom
2024-12-16 11:15 Tom Status new => resolved
2024-12-16 11:15 Tom Resolution open => not fixable
2024-12-21 21:38 Tom Note Added: 0000034