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
Simple file dialog: Save As does not right trim spaces from a filename #95760
Labels
bug
Issue identified by VS Code Team member as probable bug
insiders-released
Patch has been released in VS Code Insiders
simple-file-dialog
Issues with simple file dialog
verified
Verification succeeded
Milestone
Comments
alexr00
added
bug
Issue identified by VS Code Team member as probable bug
simple-file-dialog
Issues with simple file dialog
labels
Apr 22, 2020
If you are running on a system where spaces in the filename are permitted (not Windows) then you should be allowed to have a space. |
Agreed as part of The name. Not in trailing though. It's not done that way.
I would say it's not common but I have never seen that. Like trailing
spaces in a password. Good luck debugging that. If someone actually wanted
a trailing space they should do it explicitly. My opinion. It should be
trimmed l and r.
…On Wed, Apr 22, 2020, 10:16 AM Alex Ross ***@***.***> wrote:
If you are running on a system where spaces in the filename are permitted
(not Windows) then you should be allowed to have a space.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#95760 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB2TBINTU4ZTXB7ZK34Q4DTRN3343ANCNFSM4MNG6FBQ>
.
|
alexr00
added
bug
Issue identified by VS Code Team member as probable bug
and removed
*as-designed
Described behavior is as designed
labels
Apr 27, 2020
alexr00
added a commit
that referenced
this issue
May 13, 2020
alexr00
changed the title
Save As does not right trim spaces from a filename
Simple file dialog: Save As does not right trim spaces from a filename
Jun 5, 2020
This change only impacts the simple file dialog. We let the system file dialog do whatever it's going to do. |
@alexr00 BTW, this problem does not occur in Stable. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bug
Issue identified by VS Code Team member as probable bug
insiders-released
Patch has been released in VS Code Insiders
simple-file-dialog
Issues with simple file dialog
verified
Verification succeeded
Issue Type: Bug
If you do a Save As, and add a space to the end of the filename by accident, there is no right trim of trailing spaces. You get files with a trailing space in the filename which is very confusing especially when using the new SSH extension to a Linux system.
VS Code version: Code 1.44.1 (a9f8623, 2020-04-11T01:48:12.622Z)
OS version: Windows_NT x64 10.0.16299
Remote OS version: Linux x64 3.10.0-1062.18.1.el7.x86_64
Extensions (6)
(1 theme extensions excluded)
The text was updated successfully, but these errors were encountered: