Path depth exceeded & incorrect rich move dialog

Things you’d like to miss in the future...
admin
Site Admin
Posts: 60595
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Path depth exceeded & incorrect rich move dialog

Post by admin »

Zeta wrote:4) Don't change anything after extracting
5) Run: XYplorer.exe
6) Click "Continue Evaluation"
7) Results:
18.60.0000 => No firewall alert + Yes language selection dialog
18.80.0000 => No firewall alert + Yes language selection dialog
18.80.0020 => Yes firewall alert + No language selection dialog
.............. => Firewall Allert => Application: XYplorer.exe | Remote: 5.35.226.108 - TCP | Port: https(443)
.............. => https://ipinfo.io/5.35.226.108 => Among others xyplorer.com is hosted on that IP
The .0000 releases are digitally signed, that might make a difference.

18.80.0020: I do get the language selection dialog here. :?

Zeta
Posts: 50
Joined: 28 Nov 2017 04:11

Re: Path depth exceeded & incorrect rich move dialog

Post by Zeta »

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 :)

Zeta
Posts: 50
Joined: 28 Nov 2017 04:11

Re: Path depth exceeded & incorrect rich move dialog

Post by Zeta »

Btw I managed to trigger the original bug again in 18.80.0020.

(ps: The new "Filename Length Info" function was pretty handy to recreate a testcase with the right amount of characters instead of having to blindly try to find a bug triggering combination.)

Steps:
0) xyplorer_beta_noinstall_[18.80.0020] => Extracted, no settings changed except changing to list view for clarity (bug triggers with the default detail view also).

1) Create the following folders:
C:\0\1

C:\0\1\AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

C:\0\1\AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\BBBBBBBBBBBBBBB

2) Create the following files in folder "C:\0\1\AAAA...":
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111.txt

222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222.txt

333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333.txt

444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444.txt

555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555.txt
666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666.txt
777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777.txt
888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888.txt

3) Select all 8 .txt files and drag and drop them to subfolder "BBB... located in ""C:\0\1"
=> (Moving them so they're located in C:\0\1\AAAA...\BBBB...\*.txt)

4) See pic:
Attachments
Clipboard06_[v18.80.0020].jpg
Clipboard06_[v18.80.0020].jpg (311.61 KiB) Viewed 1240 times

admin
Site Admin
Posts: 60595
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Path depth exceeded & incorrect rich move dialog

Post by admin »

No luck this time. Cannot reproduce. Are these the right numbers (see Len column)?
Attachments
2018-03-21_082854.png
2018-03-21_082854.png (22.43 KiB) Viewed 1238 times

Zeta
Posts: 50
Joined: 28 Nov 2017 04:11

Re: Path depth exceeded & incorrect rich move dialog

Post by Zeta »

Yeah:
BBBBBBBBBBBBBBB = 129
1->4 = 271
5-8 = 241

To make sure I did a fresh extract from the No-Install zip.
No settings changed except for:
- Turning of Dual Pane
- Enabling the "Len" column
Attachments
Clipboard07_[v18.80.0020].jpg
Clipboard07_[v18.80.0020].jpg (271.05 KiB) Viewed 1236 times

admin
Site Admin
Posts: 60595
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Path depth exceeded & incorrect rich move dialog

Post by admin »

If I do this I get this message:
Attachments
2018-03-21_090146.png
2018-03-21_090146.png (4.08 KiB) Viewed 1235 times

Zeta
Posts: 50
Joined: 28 Nov 2017 04:11

Re: Path depth exceeded & incorrect rich move dialog

Post by Zeta »

Weird I don't get that.
By default custom copy is off, turning it on doesn't fix it anymore either.
Weird stuff.

Just retried with a fresh No-Install extract:

Create a folder: C:\0

Extract: Test.rar to C:\0

Extract: xyplorer_beta_noinstall_[18.80.0020].zip to C:\0\xyplorer_beta_noinstall_[18.80.0020]

Run: C:\0\xyplorer_beta_noinstall_[18.80.0020]\XYplorer.exe
Attachments
test.rar
(3.68 KiB) Downloaded 43 times
Clipboard08_[v18.80.0020].jpg
Clipboard08_[v18.80.0020].jpg (389.25 KiB) Viewed 1233 times

admin
Site Admin
Posts: 60595
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Path depth exceeded & incorrect rich move dialog

Post by admin »

What's your Windows version?

Zeta
Posts: 50
Joined: 28 Nov 2017 04:11

Re: Path depth exceeded & incorrect rich move dialog

Post by Zeta »

Win 7 x64 SP1

admin
Site Admin
Posts: 60595
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Path depth exceeded & incorrect rich move dialog

Post by admin »

I'll add a fix attempt to 18.90.0001 later...

Zeta
Posts: 50
Joined: 28 Nov 2017 04:11

Re: Path depth exceeded & incorrect rich move dialog

Post by Zeta »

Mhm, yeah it's weird.

Zeta
Posts: 50
Joined: 28 Nov 2017 04:11

Re: Path depth exceeded & incorrect rich move dialog

Post by Zeta »

1) I just tried v18.90.0001 No-Install zip.
2) Extracted, no settings changed.
3) First run of xyplorer.exe => XYPlorer again connects to the internet as the previous beta did, v18.90.0000 Release version doesn't do this.
4) Deactivate Dual Pane, add Len column.

A) With default settings ("Use Custom Copy" is unticked) I get now: Use custom copy to move more then one overlong item at a time.
B) With "Use Custom Copy => Ticked" the files move as intended without giving that error from before :D

admin
Site Admin
Posts: 60595
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Path depth exceeded & incorrect rich move dialog

Post by admin »

Zeta wrote:1) I just tried v18.90.0001 No-Install zip.
2) Extracted, no settings changed.
3) First run of xyplorer.exe => XYPlorer again connects to the internet as the previous beta did, v18.90.0000 Release version doesn't do this.
4) Deactivate Dual Pane, add Len column.
Pretty surely that's connected to the digital signature. Your Firewall trusts digitally signed apps only. If you don't trust my beta versions then you have to limit yourself to the official releases.

OTOH I see that some users might be irritated by that call to the internet which is only necessary to list the available interface languages. It might just be smarter to turn this off... :eh: :maf:
Zeta wrote:A) With default settings ("Use Custom Copy" is unticked) I get now: Use custom copy to move more then one overlong item at a time.
B) With "Use Custom Copy => Ticked" the files move as intended without giving that error from before :D
Ah, good! :D

Zeta
Posts: 50
Joined: 28 Nov 2017 04:11

Re: Path depth exceeded & incorrect rich move dialog

Post by Zeta »

admin wrote: Pretty surely that's connected to the digital signature. Your Firewall trusts digitally signed apps only. If you don't trust my beta versions then you have to limit yourself to the official releases.

OTOH I see that some users might be irritated by that call to the internet which is only necessary to list the available interface languages. It might just be smarter to turn this off... :eh: :maf:
Yeah it might be possible that it's related to the digital signature.

The reason that I reported it is that it's not that I don't trust you, it's that it might make some people uncomfortable.
When I first saw it try to connect to the internet I was like hmm why does it want to connect to the internet?
So I went to the configuration dialog and I saw that the update check is turned off by default.
I had no idea that it could be related to be able to list the available interface languages.

Maybe you could bundle the languages with the Beta releases if they don't take up too much space?

Zeta
Posts: 50
Joined: 28 Nov 2017 04:11

Re: Path depth exceeded & incorrect rich move dialog

Post by Zeta »

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)
Attachments
Clipboard11.png
Clipboard11.png (61.26 KiB) Viewed 1188 times

Post Reply