Zeta wrote:admin wrote:Zeta wrote:Bug triggering filename:
New Textfile-01111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111-----------------------------------------------------------------------------------------------------------------------------------------------
This is a limit of the NTFS file system. Components cannot exceed 255 characters.
Ah I see
Might this also be related to if you paste an extremely long path\filename in the urlbar that it gives cuts off the path and gives an error?
For instance if you use the files from the previous test case:
1) Go to: C:\0
2) Click/Select: test.rar
3) Press: Ctrl+P (Copied to clipboard: 1 path/name) == This location is in the clipboard now => C:\0\test.rar
4) Go to: C:\
5) Paste this in the urlbar: C:\0\test.rar
6) You end up in C:\0 with test.rar selected
This is a really useful feature if you use a disc cataloging tool where you copy the path\filename from and then paste that in XYplorer's urlbar to directly go to the file's folder and the file'll be selected too.
This way you don't have to manually browse through the folder or use a filter on the folder.
But with really long paths/filenames you get this:
1) Go to:
C:\0\1\1\AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\BBBBBBBBBBBBBBB\
2) Click/Select:
C:\0\1\1\AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\BBBBBBBBBBBBBBB\111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111.txt
3) Press: Ctrl+P (Copied to clipboard: 1 path/name) == This location is in the clipboard now =>
C:\0\1\1\AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\BBBBBBBBBBBBBBB\111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111.txt
4) Go to: C:\
5) Paste this in the urlbar:
C:\0\1\1\AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\BBBBBBBBBBBBBBB\111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111.txt
6) See pic:
Instead of ending up in folder below - With the .txt file being selected:
C:\0\1\1\AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\BBBBBBBBBBBBBBB\
The path gets cut off and you end up with only the filename in the urlbar:
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111.txt
Also the filename gets cut off at the 2 arrows I put on the screenshot (the tooltip at the bottom comes from hovering over the (?) in the statusbar)