Page 1 of 1

[SOLVED in 19.20.0000] Bug in feature "Backup To ..": wrong path used from history, when selecting a relative path?

Posted: 09 Sep 2018 00:58
by matewo
Hi all,

I encountered a strange behaviour, when using feature "Backup To ..". Selecting a relative path in the history of the "Backup To.." dialog leads to a path, where the relative path is prepended by the installation directory of xyplorer (using the zip file, not the installer).

Steps to reproduce:

Code: Select all

 - Unzip https://www.xyplorer.com/download/xyplorer_full_noinstall.zip, version 19.10.0200 (15-Aug-2018) to any folder (referenced here as <xyplorer_install_dir>).
 - Start xyplorer once and close it again ==> Data folder is created.
 - Backup file Data\XYplorer.ini for later reference (version 01).
 - Start xyplorer again.
 - Create a test folder (anywhere on the disk, but not in the directory <xyplorer_install_dir>).
 - Create a test file.

 - Backup the test file using CTRL+SHIFT+F7.
 - Choose a relative folder path, e.g. "aBc".
 - The folder ("aBc") has been created and the test file has been backed up successfully.
 - Close xyplorer.
 - Backup file Data\XYplorer.ini for later reference again (version 02).
 - Open xyplorer.

 - Backup the test file again using CTRL+SHIFT+F7.
 - In the opened dialog, in the "Browse" text field the directory from above is prefilled ("aBc").
 - In the history of used directories one entry ("aBc") is listed and "marked grey".
 - Click on this one entry in the history.
 - Content of the "Browse" text field is changed from "aBc" to "<xyplorer_install_dir>\aBc".
 - I have expected, that the "Browse" text field would still contain / display "aBc".

 - Comparing versions 1 and 2 of file XYplorer.ini, the (unified) differences are: 

--- version 1
+++ version 2
 [FileIcons]
 Count=0
 
 [FileOpTo]
-Count=0
+Count=1
+1=aBc
 
 [ColorFilter]

 - The ini file contains the correct (relative path) entry "aBc", although an absolute path have been substituted ("<xyplorer_install_dir>\aBc") in the  "Browse" text field.


 - Same test result, if I use relative path ".\aBc".
Hope this helps.

Best regards,
Markus

===== =====
Edit:
[SOLVED in 19.20.0000]

Re: Bug in feature "Backup To ..": wrong path used from history, when selecting a relative path?

Posted: 10 Sep 2018 10:07
by admin
Indeed. Good bug! :tup: Fix coming in next beta.