Page 1 of 1

paperfolder explicit save

Posted: 09 Jul 2022 23:31
by jupe
I have noticed an issue using paperfolders while explicit save is enabled, repro steps using fresh:
  1. enable explicit save
  2. open existing paperfolder
  3. rename one of the files listed
  4. save paperfolder
  5. result = renamed file disappears
The new name seems to be saved into the PF correctly though, it's just removed from the list pane.

Re: paperfolder explicit save

Posted: 15 Jul 2022 12:56
by admin
Confirmed. Should be fixed in next beta. :beer:

Re: paperfolder explicit save

Posted: 09 Apr 2023 20:27
by jupe
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;

Re: paperfolder explicit save

Posted: 10 Apr 2023 11:35
by admin
You are right. Should be fixed in next beta.

Re: paperfolder explicit save

Posted: 02 Jun 2023 06:58
by jupe
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:

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;
So it first demo's it working, then not working when opened in a new tab.

Re: paperfolder explicit save

Posted: 02 Jun 2023 09:40
by admin
Thanks, confirmed and fixed. :tup:

Re: paperfolder explicit save

Posted: 04 Jan 2024 02:08
by jupe
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

Re: paperfolder explicit save

Posted: 05 Jan 2024 14:10
by admin
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.