[SOLVED] Toggle Favorite File: use full path instead of virtual 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
Leito
Posts: 562
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

[SOLVED] Toggle Favorite File: use full path instead of virtual path

Post by Leito »

Steps to reproduce
  1. Browse to C:\Users\[user]\Desktop (note the use of the full path, and not the virtual path).
  2. Create a new file test.txt
  3. Call the command "Toggle Favorite File"
  4. Call the command "Manage Favorite Files"
Actual results
The file is listed with the following path: Desktop\test.txt

Expected results
The file should be listed with the following path: C:\Users\[user]\Desktop\test.txt

Additional notes
  • Favorite Folders behave correctly: add C:\Users\[user]\Desktop\test\ as a favorite folder, it will be listed with its full path.
  • One could argue that virtual paths are the devil, and that adding a file/folder to favorites after browsing by its virtual path (≠ to the steps above) should still use the full path and not the virtual path...
Last edited by Leito on 24 Jan 2019 16:16, 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: Toggle Favorite File: use full path instead of virtual path

Post by admin »

Confirmed and fixed. :tup:

Leito
Posts: 562
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: Toggle Favorite File: use full path instead of virtual path

Post by Leito »

Code: Select all

v19.50.0241 - 2019-01-24 15:27
    ! Favorites | Toggle Favorite File: Always used the virtual path if there 
      was one. But it should use the actual path of the selected file (be it 
      real or virtual). Fixed.
Thanks! :beer:

Post Reply