[v19.20] : Directories ending with spaces fail

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
Sander Bouwhuis
Posts: 249
Joined: 10 Jun 2008 15:40
Location: Netherlands

[v19.20] : Directories ending with spaces fail

Post by Sander Bouwhuis »

XYPlorer fails to handle directories when they end with a space.
When you right click them in the tree, the popup menu doesn't show.
Also, when you right click them in the files/dirs listview you get the 'File' menu as popup instead of the usual directory popup menu.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [v19.20] : Directories ending with spaces fail

Post by admin »

See https://www.xyplorer.com/release_17.50.php#DotSpace

It's not XYplorer that fails but the Windows shell. You should rename those folders to something legal.

Sander Bouwhuis
Posts: 249
Joined: 10 Jun 2008 15:40
Location: Netherlands

Re: [v19.20] : Directories ending with spaces fail

Post by Sander Bouwhuis »

Why don't you then give a message that that is the problem?
I restarted XYPlorer a couple of times, I restarted Windows, and then I even installed an older version of XYPlorer to try and get it to work.

After all that, I decided to check the directory from within Visual Studio in one of my C++ projects. Only then I saw that there was 1 directory (of the many I had in the directory) that contained a space at the end.

Could you at least give a warning message instead of just failing silently?
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [v19.20] : Directories ending with spaces fail

Post by admin »

Good idea. Next version will show a warning in the Status Bar.

Sander Bouwhuis
Posts: 249
Joined: 10 Jun 2008 15:40
Location: Netherlands

Re: [v19.20] : Directories ending with spaces fail

Post by Sander Bouwhuis »

Wouldn't a messagebox be clearer? The likelihood of seeing a teeny tiny message in the statusbar is probably unnoticeable when you are focused on where you are clicking.

Anyway, thanks for the effort!
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [v19.20] : Directories ending with spaces fail

Post by admin »

Too disruptive.

Addtionally I'll add a way to color-filter these files.

Post Reply