File Picker silently strips prefixed whitespace in file name when saving file.
-
Save a file with the name
`{name: "rules", id: "s1grux"}`{.json5}.txt.md
-
The prefixed tab shall be silently removed (yet the middle one remains).
-
The whitespace should remain, because the filename should not be modified without the user knowing about it, even if reprompture is necessary.
-
From https://github.com/microsoft/vscode/issues/193895#issue-1910046016, where this was intially reported:
-
OS Version:
OS: Linux x64 6.5.3-1-default
More specifically, cpe:/o:opensuse:tumbleweed:20230920
-
-
This is erroneous because it is both unnecessary on BTRFS, per https://en.wikipedia.org/wiki/Comparison_of_file_systems#:~:text=any%20byte%20except%20'%2F'%20and%20nul%20
Allowable characters
Any byte except '/' and NULand OS/kernel, but more importantly, because it is not communicated to the user.
Additionally, per https://github.com/microsoft/vscode/issues/193895#issuecomment-1734015379,
https://download.opensuse.org/repositories/openSUSE:/Factory/standard/src/gnome-text-editor-45.0-1.1.src.rpm behaves identically to VSCode in this regard, despite using the GTK4 (rather than GTK3) dialog, so it's probably caused by GTK.