Virtual Folders

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

: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: 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: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Virtual Folders

Post by jupe »

I know VFO's are a feature that is still in development, but I thought I would create a generic topic where things could be mentioned that you might not have noticed yet, here are a couple:

1) If the "Show Folders in List" is toggled while on a VFO tab (with a <pick...> location) it makes the list pane return the "The system cannot find the file specified" message, it would be good if this was avoidable, since that is a global toggle. edit: hmm I can't repro in fresh now, I can in my normal config, I will try get repro conditions if you can't repro or think of a reason.
Ignore me, it was caused by CEA browse. whoops!

2023-01-21_061512.png

2) If using a VFO such as <get sip> and switch from a search tab it doesn't seem to work, (the list is empty) will this become possible?
To see the attached files, you need to log into the forum.

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

Re: Virtual Folders

Post by admin »

jupe wrote: 20 Jan 2023 19:39 2) If using a VFO such as <get sip> and switch from a search tab it doesn't seem to work, (the list is empty) will this become possible?
Good point. Yes, possible in next beta. :beer:

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Virtual Folders

Post by jupe »

I am getting some weird returns using get pick with genericfiletypes, for example if I run this in fresh I get executables etc returned.

vi:<get pick {:Text} "<xypath>">

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

Re: Virtual Folders

Post by admin »

Grrr. Fix comes.

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: What can Virtual Folders do?

Post by jupe »

I have noticed that if you use SC delete while in a vi: (even on a file that isn't listed in the vi) that it blanks out the list, even if auto-refresh is off or suspended, is that expected?

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

Re: What can Virtual Folders do?

Post by admin »

Confirmed & fixed.

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: What can Virtual Folders do?

Post by jupe »

Another thing I thought I'd mention is that when a vi: path is used that includes full path names to files, (not get pick etc) the Hotlist popupmenu show all the files without truncation which leads to the popupmenu being full screen width eg.

2023-03-05_111554.png

I am not asking for changes just pointing it out, in case this was unintended.
To see the attached files, you need to log into the forum.

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

Re: What can Virtual Folders do?

Post by admin »

Yep, fix comes.

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: What can Virtual Folders do?

Post by jupe »

jupe wrote: 03 Mar 2023 17:37 I have noticed that if you use SC delete while in a vi: (even on a file that isn't listed in the vi) that it blanks out the list, even if auto-refresh is off or suspended, is that expected?
This looks fixed now, but while the list doesn't become blank anymore, the selection is lost and the list scrolls to the top, losing scrollpos.

Another thing I noticed is that when the vi: prefix is entered in the address bar, XY suggests all the root locations as valid entries, this doesn't seem right. eg vi:Network etc.

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

Re: Virtual Folders

Post by admin »

Improvements are coming on both frontlines.

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Virtual Folders

Post by jupe »

I have found a reproducible crash, in fresh if I enter certain VFO paths, then with that location open run freshhere; then right click the breadcrumb bar in the new instance, XY silent closes. The XY instance that opens loads in This PC location but with an empty list pane, which is probably related.

Here is a repro script for fresh, goto "vi:<get pick *.exe|*.ini '<xypath>'>"; freshhere;

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

Re: Virtual Folders

Post by admin »

Yo. Should work better soon. :cup: :tup:

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Virtual Folders

Post by jupe »

I am still having an issue where if I SC delete a file (in any location) while a VFO is open in the active pane, the list is scrolled to the top and sel lost. I am using the full path to the item to be deleted in my script, repro script if it helps:

Code: Select all

  goto "vi:<get pick * '<xypath>'><crlf><get pick * '<xydata>'><crlf><get pick * '<xyscripts>'>";
  $del = new("<xypane>\RANDOMTESTFILE13032023.txt");
  sel <get countitems>;
  msg "notice last file selected + scrollpos";
  delete 1, 1, $del;
  msg "notice sel and scroll lost";
Also I noticed if a VFO is called, but you try to goto the same folder first in the scipt, XY shows a "<path> could not be accessed" error msg. eg. goto <xyscripts>; goto "vi:<get pick>"; This happens even if you have other commands between them, or have a concatenated list of other paths in the vi: string too.

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

Re: Virtual Folders

Post by admin »

Yep & yep. Both fixes coming.

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Virtual Folders

Post by jupe »

I've been trying to track down an issue I've had with VFO's for a long while now, and after much troubleshooting have finally been able to successfully make a repro for fresh.

Code: Select all

  cea(21, 0);                           // disable cea (for script reruns)
  goto "vi:<xy>"; refreshlist;
  msg "notice pane is ok,<br>now we'll try again after certain CEA is set";

  goto <xypath>;                        // just move pane so cea is triggered later
  cea(21, 1, 'tab("get", "caption");'); // set a cea script that causes it

  goto "vi:<xy>"; refreshlist;
  msg "notice pane is BAD!,<br>but if instead I use #485<br>after this dialog closes pane will be ok", 16;
  #485;
The issue seems to require a constellation of using SC tab via CEA and using SC refreshlist on a VFO, unsure which is cause and which is symptom.

Post Reply