Open andrew-james-heard opened 6 months ago
Thank you for the report, I can repro this issue in the List View as well. Interestingly it's not an issue in the Details View.
Wow - can I give you 11 out of 10 stars for speed of testing?
Having clear repro steps helps in this regard!
Reproducing doesn't mean it'll be fixed right away, but it does mean that it's added to our project board and marked as ready to build.
I think I know how to fix this, may I be assigned to this ? Also should I write tests for it ?
Thank you.
If your able to fix this issue, just open a PR with it.
Also should I write tests for it ?
Tests aren't necessary but you should verify it works and include the steps you used to verify in the PR.
Description
When renaming a file with a long name in Windows Explorer, the whole name is displayed, whereas Files only displays part of the name. In Files, when the name is in edit mode (F2) the Home & End keys only move to the start & end of the visual/ displayed text rather than the 1st or last character. This issue seems to stem from Files difference in how it displays long file names; generally they are shown in a truncated form whereas Explorer generally shows the whole name.
Steps To Reproduce
Requirements
Not quite sure, but its currently confusing. Initially I thought a truncated name was being pasted, but you can use the cursor-left key to see all the other characters are actually pasted, just not displayed.
Files Version
3.3
Windows Version
11 23H2
Log File
this should be optional?