Symbolic Link Paths Not Resolving Properly

Things you’d like to miss in the future...
Howitzer99
Posts: 30
Joined: 20 Aug 2019 05:31

Symbolic Link Paths Not Resolving Properly

Post by Howitzer99 »

Hi,

Due to limitations with Dropbox mapping, I need to have a directory mapped to a drive letter for a project, which is no problem. This issue is that when I use the convenient path bar to go to a specific directory, the mapping does not resolve properly, and does not respect the mapped path.

For example:
I'm in "M:\projects\test\incoming\video\" and if I want to go up to the projects directory, normally I would just click "project" in the filepath bar.

What I'm seeing instead: "D:\Dropbox\PL\projects\"

What I'm expecting: "M:\projects\".

As you can see, when I start from the M: location, clicking on the directory in the filepath bar, should be taking me to the same M: location I am clicking on. Normally, I wouldn't care to much, but I'm constantly having to copy and paste filepaths, and these need to resolve to the project's M: and not the local path (D:)

This is only occurring in xyplorer, if I do the same function in a Windows Explorer, the path stays relative to the M: and not the D: when clicking on a higher folder name in the filepath bar.

I have tried changing the symbolic link to a junction, but xyplorer still has the same issue when resolving the paths.

Currently, the only method that works is for me to use the green "up" arrow on the xyplorer taskbar, or Alt+Up to navigate up to a higher directory.

Hopefully this makes sense. Please let me know if there is a way to resolve this issue in xyplorer.

Thanks,
Dave

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Symbolic Link Paths Not Resolving Properly

Post by highend »

Configuration | General | Controls & More | Miscellaneous | [x] Resolve junctions

is ticked?
One of my scripts helped you out? Please donate via Paypal

Howitzer99
Posts: 30
Joined: 20 Aug 2019 05:31

Re: Symbolic Link Paths Not Resolving Properly

Post by Howitzer99 »

Yes, "Resolve junctions" is ticked.

Howitzer99
Posts: 30
Joined: 20 Aug 2019 05:31

Re: Symbolic Link Paths Not Resolving Properly

Post by Howitzer99 »

bumping to see if anyone knows a solution to this behavior in xyplorer.

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Symbolic Link Paths Not Resolving Properly

Post by highend »

What happens if you try it with a fresh instance?

Execute fresh; from the address bar

I've created this path E:\projects\test\incoming\video

and used subst m: e:\projects in a command prompt afterwards

When I now navigate into M:\test\incoming\video
and click on test in the breadcrumb bar I'm in M:\test and not in E:\projects\test...
One of my scripts helped you out? Please donate via Paypal

Howitzer99
Posts: 30
Joined: 20 Aug 2019 05:31

Re: Symbolic Link Paths Not Resolving Properly

Post by Howitzer99 »

Thank you for testing, and the proposed solution. I tried running the "fresh" version of xyplorer, but the same navigation issues persist.

If I navigate to the junction point, the mapping immediately changes to the D:\Dropbox path, instead of resolving to the M: path as shown in the filepath bar.

Testing it further, I'm seeing that any path after the junction automatically resolves to the D: path. And any before retain the M: Using the example below, "M:\Productions\projects\" is ok, but any path upwards from this has broken path resolution.

M:\Productions\projects\spot\ad\published\shots\0020\

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Symbolic Link Paths Not Resolving Properly

Post by highend »

How exactly did you create that junction?
One of my scripts helped you out? Please donate via Paypal

Howitzer99
Posts: 30
Joined: 20 Aug 2019 05:31

Re: Symbolic Link Paths Not Resolving Properly

Post by Howitzer99 »

I'm copying a folder from inside of "D:\Dropbox", and pasting into "M:\productions\projects\", using this command:

Edit->Paste Special-> Paste as Junction
or
Edit->Paste Special-> Paste as Shortcut

I'm not sure how to tell in Windows what the link currently is, but I believe it's a shortcut. I have been testing shortcuts and junctions to see if one will work as expected, and I believe I left it as a shortcut (at least that's what the icon looks like).

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Symbolic Link Paths Not Resolving Properly

Post by highend »

Ok, tested it with "paste as junction" and I see the same behavior...

Funny thing: Right clicking on any parent folder in the breadcrumb bar, "Copy path": This is the correct path (in M:) but clicking on it leads to the path in D:

Don?
One of my scripts helped you out? Please donate via Paypal

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

Re: Symbolic Link Paths Not Resolving Properly

Post by admin »

I'll look at it later. Are you saying that both commands show the same bug?
Edit->Paste Special-> Paste as Junction
Edit->Paste Special-> Paste as Shortcut

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Symbolic Link Paths Not Resolving Properly

Post by highend »

I don't think that he really used "Paste as Shortcut(s)"

This would create <something>.lnk and it would immediately put you back into the original source folder when trying to access this shortcut

I've tried
Edit->Paste Special-> Paste as Symbolic Link(s)
Edit->Paste Special-> Paste as Junction(s)

and both are showing the same behavior
One of my scripts helped you out? Please donate via Paypal

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

Re: Symbolic Link Paths Not Resolving Properly

Post by admin »

Can you confirm that the problem disappears when yon untick Configuration | General | Controls & More | Miscellaneous | Resolve junctions?

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Symbolic Link Paths Not Resolving Properly

Post by highend »

Yeah, it works fine if it's unticked but while (at least I) would want to use that setting, this is probably a special case (navigating via the breadcrumb bar)

Maybe another setting
Configuration | General | Controls & More | Miscellaneous | Resolve junctions in breadcrumb bar

which works separately from the main setting?
One of my scripts helped you out? Please donate via Paypal

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

Re: Symbolic Link Paths Not Resolving Properly

Post by admin »

I fixed it by making it work as expected independently of this setting. I don't think a new setting is necessary.

Howitzer99
Posts: 30
Joined: 20 Aug 2019 05:31

Re: Symbolic Link Paths Not Resolving Properly

Post by Howitzer99 »

Awesome, unticking "Resolve junctions" works! I can navigate the filepath/breadcrumb bar without losing the root drive path.

Thanks for chasing this down.

Post Reply