- enable explicit save
- open existing paperfolder
- rename one of the files listed
- save paperfolder
- result = renamed file disappears
paperfolder explicit save
paperfolder explicit save
I have noticed an issue using paperfolders while explicit save is enabled, repro steps using fresh:
-
- Site Admin
- Posts: 59751
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: paperfolder explicit save
Confirmed. Should be fixed in next beta.
FAQ | XY News RSS | XY Twitter
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;
-
- Site Admin
- Posts: 59751
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: paperfolder explicit save
You are right. Should be fixed in next beta.
FAQ | XY News RSS | XY Twitter
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;
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
-
- Site Admin
- Posts: 59751
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @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 Twitter