Path depth exceeded & incorrect rich move dialog

Things you’d like to miss in the future...
Zeta
Posts: 50
Joined: 28 Nov 2017 04:11

Path depth exceeded & incorrect rich move dialog

Post by Zeta »

Steps to reproduce:

1) Create the following folders:

C:\0\AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

C:\0\B

2) Put the following files in folder: C:\0\AAAAA...
New Textfile.txt
New Textfile-011111111111111111111111111111111111111111111.txt

3) Select both .txt files and drag & drop them to: C:\0\B

4) Unexpected result: See Pic:

5) I haven't extensively tested it but it seems to happen when at least one of the selected items in the source folder exceeds the path depth.
Usually due to a really deep path and a file with long filename that ends exceeding path depth limit when both are combined.
This has been happening for quite a long while so I have no idea when this was introduced.
Attachments
Clipboard01.jpg
Clipboard01.jpg (175.08 KiB) Viewed 1702 times

admin
Site Admin
Posts: 60566
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 followed your steps but did not get the same result.

What are your settings here?
Configuration | General | Controls and More | Miscellaneous | Support overlong filenames
Configuration | File Operations | File Operations | Custom Copy Operations | Use Custom Copy


And are you using the latest version of XYplorer?

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

Re: Path depth exceeded & incorrect rich move dialog

Post by Zeta »

*) Support overlong filenames = Checked
*) Use Custom Copy = Checked for all copy and move operations

This is with XYplorer 18.60.0000 and a quite a few earlier versions.
I just upgraded to 18.80.0000 and it still happens.

To make sure I don't have any weird/corrupt settings in my ini tried 18.80.0000 No-Install too.
RAR extracted, no settings changed except for turning of dual-pane.
(Support overlong filenames is enabled by default)
Then tested again after I noticed custom copy wasn't enabled by default.
Both the default "Unchanged No-Install" and "Enabling "Custom Copy in No-Install" give the same result as below.
Attachments
Clipboard02.jpg
Clipboard02.jpg (196.04 KiB) Viewed 1677 times

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

Re: Path depth exceeded & incorrect rich move dialog

Post by admin »

Does it also happen when you untick this?
Configuration | Other | Shell Integration | Drag and Drop | Use standard shell drag and drop

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

Re: Path depth exceeded & incorrect rich move dialog

Post by Zeta »

Does it also happen when you untick this?
Configuration | Other | Shell Integration | Drag and Drop | Use standard shell drag and drop
That unticking this fixes it ^^

I've looked at the manual but I'm not sure if there are downsides to disabling this or as to what it does exactly.

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

Re: Path depth exceeded & incorrect rich move dialog

Post by admin »

Well, you discovered a real evil crash bug, and what you saw (those dialogs) were just weird effects of a system that exploded.

The point here is was (it's fixed now) that the shell cannot handle those long paths and just crashes on the spot. Next version smoothly works around this.

Thanks for the report! :tup:

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

Re: Path depth exceeded & incorrect rich move dialog

Post by Zeta »

Ah I see, no problem :) and thanks for the fast fix :tup:
Last edited by Zeta on 20 Mar 2018 21:03, edited 1 time in total.

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

Re: Path depth exceeded & incorrect rich move dialog

Post by Zeta »

I also noticed another bug related to this:
If you increase the filename's length with additional characters you hit another bug:

Original filename:
New Textfile.txt

Bug triggering filename:
New Textfile-01111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111-----------------------------------------------------------------------------------------------------------------------------------------------
Attachments
Clipboard03.jpg
Clipboard03.jpg (399.89 KiB) Viewed 1659 times

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

Re: Path depth exceeded & incorrect rich move dialog

Post by Zeta »

Another one I noticed in the past:

Increase the filename to:

From:
Path depth exceeded & incorrect rich move dialog - XYplorer Beta Club.url

To:
Path depth exceeded & incorrect rich move dialog - XYplorer Beta Club------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.url

The trick is to increase the filename so much that you hit this bug without triggering the bug in the post above.
This will break the file type icon as shown in the pic below.
Attachments
Clipboard04.jpg
Clipboard04.jpg (226.78 KiB) Viewed 1659 times

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

Re: Path depth exceeded & incorrect rich move dialog

Post by Zeta »

I'm not sure if it's related to the bug you're going to fix but moving files from AAA... to BBBB... with :

Source Folder:
C:\0\AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\

Source Folder's Files:
New Textfile.txt
New Textfile-01111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111.txt

C:\0\AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\Path depth exceeded & incorrect rich move dialog - XYplorer Beta Club------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.url

Target Folder:
C:\0\CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

1) If you click yes on recreate the folder structure you get:
The .url file won't move.

2) "New Textfile.txt" ends up in:
C:\0\CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC\AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\New Textfile.txt

3) The other txt file with the long filename ends in:
C:\0\CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC\AAAAAA~1\New Textfile-01111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111.txt

Also if you move the 3 files back manually, XYPlorer won't auto-refresh the view even though auto-refresh is turned on.
You need to press F5 to refresh the view to show the actual (empty) state of the folder.
Attachments
Clipboard05.jpg
Clipboard05.jpg (242.67 KiB) Viewed 1655 times

admin
Site Admin
Posts: 60566
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'm not "going to fix", but I already fixed it. :) Please download the latest beta here from the forum.

Conc. the icons: shell icons come from the shell, and the shell gives up on overlong names, so: no icons. That's just the way it is and no bug.

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

Re: Path depth exceeded & incorrect rich move dialog

Post by Zeta »

/me downloads :D

Woo yea it works now :)

I like the drag&drop tooltip too :)
admin wrote:Conc. the icons: shell icons come from the shell, and the shell gives up on overlong names, so: no icons. That's just the way it is and no bug.
Could that possibly be fixed with some kind of auto implementation of "Custom File Icons (CFI)" or would make things too complicate and or lead to all kinds of issues to getting the correct icons and other things I'm not thinking about.
Changelog 18.80.0020 wrote:From now on, dragging silently switches to XYplorer's native dragging machine in cases where shell dragging is unable to cope.
I noticed that if select more then one file (like the 3 from my test) it asks you to copy them one by one if you turn off Custom Copy.


Something else I noticed that 18.80.0000 doesn't do is:
1) Extract the No-Install ZIP of 18.80.0020, don't change anything
2) Run XYplorer.exe
3) Firewall gives a notice about XYPlorer trying to connect to the internet.
4) Go to options and see that: Check for updates on start is unchecked by default

Also 18.80.0000 asks you to select a language and 18.80.0020 doesn't (might be related to it being a beta?).

admin
Site Admin
Posts: 60566
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: I noticed that if select more then one file (like the 3 from my test) it asks you to copy them one by one if you turn off Custom Copy.


Something else I noticed that 18.80.0000 doesn't do is:
1) Extract the No-Install ZIP of 18.80.0020, don't change anything
2) Run XYplorer.exe
3) Firewall gives a notice about XYPlorer trying to connect to the internet.
4) Go to options and see that: Check for updates on start is unchecked by default

Also 18.80.0000 asks you to select a language and 18.80.0020 doesn't (might be related to it being a beta?).
1) Yes, shell copy can't do any better.

2) Hmm. Can't be. Sure?

3) You can always select one from the Help menu.

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

Re: Path depth exceeded & incorrect rich move dialog

Post by Zeta »

With "Nr2" you ment the firewall alert, right?:

1) 3 Releases:
xyplorer_full_noinstalll_[18.60.0000].rar
xyplorer_full_noinstalll_[18.80.0000].rar
xyplorer_beta_noinstall_[18.80.0020].zip

2) Extract (with WinRAR 5.50 64bit) (Each Archive To A Separate Folder) to: C:\0

3) Result:
C:\0\xyplorer_beta_noinstall_[18.80.0020]
C:\0\xyplorer_full_noinstalll_[18.60.0000]
C:\0\xyplorer_full_noinstalll_[18.80.0000]

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

admin
Site Admin
Posts: 60566
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:Bug triggering filename:
New Textfile-01111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111-----------------------------------------------------------------------------------------------------------------------------------------------
This is a limit of the NTFS file system. Components cannot exceed 255 characters.

Post Reply