Major Bug with Save and Save As
Hi, I just downloaded the trial version of PDF Edit (V1.4 build 1531). It's a really easy to use program, I like it a lot, but I started noticing that sometimes it wasn't saving my files correctly. After doing a bit of detective work, I believe that this is what is happening:
There seems to be a big bug with "Save As" following a "Save". After doing a "Save", PDF Edit creates a ~XXX.pdf temp file and when you quit, it copies that temp file to the original name, and all is good (though a bit risky, since if, for example, the program crashed rather than exited smoothly, my file would not really be saved (though maybe it would get fixed on the next run of the program). ANYWAY, the bug is that If, however, you do a "Save" followed by a "Save As", what happens is that after the "Save" it creates the temp file (to be used for future copying) but doesn't actually copy it back to the original name (as mentioned above) since it figures it will do that when the program is closed. But then if you do a "Save As", it renames the ~XXX.pdf temp file to the new "Save As" name, and when you close the editor the temp file will get copied over to the new "Save As" name, but it never copied anything over to the original name! This leaves the user in a state where the "Save"d file is unchanged (i.e. their edits are lost) and the "Save As" file contains the correct changes. I think the *correct* fix for this is that after a "Save" or "Save As", any temp file should *actually* be copied, so that the world is in correct order.
- Keith
|