bug: paths not being set under specific conditions, with reproduction steps.

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

stevo399
New Member
Posts: 2
Joined: 2024 Oct 20, 04:36

bug: paths not being set under specific conditions, with reproduction steps.

Post by stevo399 »

Good morning,

I sometimes encounter a bug in Xplorer2 where, when I have recently worked in Folder A, and have switched to a new window containing folder B, Xplorer2 still thinks I am in folder A. Therefore if I open an application in folder B with dependencies also in folder B, the application will incorrectly load, as it ends up looking in Folder A for the dependencies. If this is occurring, I can also open a terminal window (by going to tools > run command and typing CMD, for example), and my command prompt will show that I have opened it in Folder A instead of B.
This was tested with folders being opened in multiple windows, rather than side-by-side in the same one.
Below are steps to reproduce this bug. Note that while I use the documents folder, this is not the only folder the bug occurs in, and the folder does not have to have a symlink.

1. Go to your documents folder and create 2 folders there. Folder A, and folder B.
2. In folder A, create a text file. I called it file A.
3. Close both the folder A and folder B windows if you still have them open. This step is here because it's exactly how I reproduced this. Sorry for being a bit redundant :P
4. Open folder A in its own window, and then do the same for folder B, so they're open in 2 separate windows again.
5. Open file A.txt.
6. With File A.txt still opened, Close folder A.
7. Close file A.txt, switching back to the Folder B window.
8. From the folder B window, launch a command window. I did this by going to tools > run command and typing 'CMD'.
9. The path that CMD opens to will be folder A, even though you're in folder B.
User avatar
nikos
Site Admin
Site Admin
Posts: 16344
Joined: 2002 Feb 07, 15:57
Location: UK

Re: bug: paths not being set under specific conditions, with reproduction steps.

Post by nikos »

which xplorer2 version do you have?
there is a very old setting that controls this behavior, see the ADVANCED property page (program options) that used to say "don't lock browsed folder"
if you have this ticked, try unticking it
stevo399
New Member
Posts: 2
Joined: 2024 Oct 20, 04:36

Re: bug: paths not being set under specific conditions, with reproduction steps.

Post by stevo399 »

This is tested on version 6.0.0.3. As for the checkbox mentioned, it is not in program options > advanced anymore. It was also tested on 5.4.0 and 5.4.2 and I couldn't find that checkbox either, but the issue still occurred on those versions.
User avatar
nikos
Site Admin
Site Admin
Posts: 16344
Joined: 2002 Feb 07, 15:57
Location: UK

Re: bug: paths not being set under specific conditions, with reproduction steps.

Post by nikos »

ok now I see what you mean, bug confirmed and will be fixed in the next update