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

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
matewo
Posts: 104
Joined: 03 Jun 2018 21:35

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

Post 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]
Last edited by matewo on 26 Sep 2018 22:10, edited 1 time in total.

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

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

Post by admin »

Indeed. Good bug! :tup: Fix coming in next beta.

Post Reply