You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
have a files called my file.txt (spaces at the beginning and the end of the name)
Expected behaviour
spaces are displayed in the UI
Actual behaviour
spaces are trimmed
data-file in the tr has the correct name but the content of <span class="nametext"> has the trimmed name
so we can end up with same looking file names in the folder
CC @phil-davis we have tests that do renames to names with trailing and leading spaces, they all pass nicely because we only check the data-file attribute of tr not the human readable name
The text was updated successfully, but these errors were encountered:
If innernametext has correct spaces before/after, then
does the browser actually display any differently?
(I suspect that the browser is not going to display "true" white space anyway)
do the file names sort into "correct" order?
(file names starting with spaces come first before those starting with a digit or letter)
what is the display requirement when people put spaces at the start of a file name?
white space at the end of a file name is not going to be visible anyway (unless there is an option to right-justify file names in the column), and does not effect sort order
Steps to reproduce
my file.txt
(spaces at the beginning and the end of the name)Expected behaviour
spaces are displayed in the UI
Actual behaviour
spaces are trimmed
data-file
in thetr
has the correct name but the content of<span class="nametext">
has the trimmed nameso we can end up with same looking file names in the folder
CC @phil-davis we have tests that do renames to names with trailing and leading spaces, they all pass nicely because we only check the
data-file
attribute oftr
not the human readable nameThe text was updated successfully, but these errors were encountered: