- enable explicit save
- open existing paperfolder
- rename one of the files listed
- save paperfolder
- result = renamed file disappears
paperfolder explicit save
Forum rules
READ THIS AND DO IT!!!
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%).
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.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
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%).
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
paperfolder explicit save
I have noticed an issue using paperfolders while explicit save is enabled, repro steps using fresh:
-
admin
- Site Admin
- Posts: 66541
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: paperfolder explicit save
I noticed a new issue, possibly since/linked to virtual folders intro, made a repro script:
Code: Select all
paperfolder(3:="oe0");
paperfolder("TEMP", <xy>,, "n");
paperfolder(3:="oe1");
paperfolder("TEMP", <xytagdat>);
msg 'I still see <xy> in the PF', 16;
-
admin
- Site Admin
- Posts: 66541
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: paperfolder explicit save
I noticed something else when explicit save is enabled, when a PF is opened in a new tab (SC tab) the list is empty, if tab refreshed or switched away from and back it is ok, I made a repro if it helps:
So it first demo's it working, then not working when opened in a new tab.
Code: Select all
paperfolder(3:="oe1");
$file = "<xypaper>\tab_new_paper_bug.txt";
writefile($file, "<pick *.exe '<xypath>'>", "n", "tu");
goto "paper:$file"; // WORKS
msg "Notice the list pane has contents";
goto <xypath>; // ISSUE NOT PRESENT WHEN PF ALREADY OPEN IN LIST PANE WHEN tab() INVOKED
tab("new", "paper:$file"); // PANE IS EMPTY, REFRESH AND IT'S OK
msg "Notice the list pane is now empty", 16;
delete 0, 1, $file;
-
admin
- Site Admin
- Posts: 66541
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: paperfolder explicit save
Don, I think there is possibly an issue when explicit save is enabled and using r mode of SC paperfolder, it lists the current pane, instead of the PF in that situation, should it instead return the file on disk content? Repro if it helps,
Code: Select all
goto <xypath>;
$pf = <date yyyymmddhhnnss>;
paperfolder($pf, <xy>, , "n");
paperfolder(3:="oe0");
text paperfolder($pf, 3:="r"); // LISTS PF
paperfolder(3:="oe1");
text paperfolder($pf, 3:="r"); // LISTS PANE
-
admin
- Site Admin
- Posts: 66541
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: paperfolder explicit save
Yes, this happens when the list does not show a PF currently. I think this bug is as old as SC paperfolder. It's fixed now.
FAQ | XY News RSS | XY X
XYplorer Beta Club