Bug on New Folder Creation x invalid chars

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
sweet40
Posts: 84
Joined: 21 Apr 2013 22:16

Bug on New Folder Creation x invalid chars

Post by sweet40 »

Use of quotes is not respected by the "auto-replace invalid characters" setting, if one quotes a path under Edit, New, New Folders...

Can't say what changed but the first time I wanted to create a "C:\Documents and Settings\Default User\" folder on that dialog, XYplorer created "C:\Documents\User\" instead, which was the reason why I tried quoting it. Further attempts to reproduce this failed, even after program restart. Weird.

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

Re: Bug on New Folder Creation x invalid chars

Post by admin »

sweet40 wrote:Use of quotes is not respected by the "auto-replace invalid characters" setting, if one quotes a path under Edit, New, New Folders...
I think it's better here not to auto-replace invalid characters. Gut feeling. Opinions?

sweet40
Posts: 84
Joined: 21 Apr 2013 22:16

Re: Bug on New Folder Creation x invalid chars

Post by sweet40 »

admin wrote:
sweet40 wrote:Use of quotes is not respected by the "auto-replace invalid characters" setting, if one quotes a path under Edit, New, New Folders...
I think it's better here not to auto-replace invalid characters. Gut feeling. Opinions?
Besides mine, right?

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

Re: Bug on New Folder Creation x invalid chars

Post by admin »

Yep, I know yours. :)

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Bug on New Folder Creation x invalid chars

Post by TheQwerty »

I think I'm confused..
admin wrote:I think it's better here not to auto-replace invalid characters.
You mean you're of the opinion that when using Edit > New > New Folders... XY should ignore the user's setting for "Auto-Replace Invalid Characters"?


Or are we only talking about the usage of quotes?

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

Re: Bug on New Folder Creation x invalid chars

Post by admin »

TheQwerty wrote:I think I'm confused..
admin wrote:I think it's better here not to auto-replace invalid characters.
You mean you're of the opinion that when using Edit > New > New Folders... XY should ignore the user's setting for "Auto-Replace Invalid Characters"?
Yes. "Auto-Replace Invalid Characters" is a kind of smartness that can hide mistakes that should not be hidden.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Bug on New Folder Creation x invalid chars

Post by TheQwerty »

admin wrote:Yes. "Auto-Replace Invalid Characters" is a kind of smartness that can hide mistakes that should not be hidden.
Hmmm.. I'm conflicted.

On one hand I agree that sometimes software smartness is a detriment.
On the other I feel XY should obey the user's settings.

Considering the default configuration of Auto-Replace... is disabled, I'm going to say if the user enables it then they've excused the possibility of XY being too smart, so it's acceptable to apply the replacements here.

Though I wonder if having it obey that setting would break the ability to create nested folders?


EDIT Clarity and...
I would be persuaded if anyone wants to argue that since the setting is under "Rename" it should not apply to creating new items.

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

Re: Bug on New Folder Creation x invalid chars

Post by admin »

TheQwerty wrote:I would be persuaded if anyone wants to argue that since the setting is under "Rename" it should not apply to creating new items.
There you go! The best point, and I did not even see it.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Bug on New Folder Creation x invalid chars

Post by TheQwerty »

admin wrote:
TheQwerty wrote:I would be persuaded if anyone wants to argue that since the setting is under "Rename" it should not apply to creating new items.
There you go! The best point, and I did not even see it.
And to think I considered biting my tongue! :P

Of course now the debate becomes does that setting apply to any creation commands...
If so why not all.
If not then maybe it should.
:twisted:

Post Reply