Foxit Corporation Forums  

Go Back   Foxit Corporation Forums > Portable Document Format (PDF) Tools > Foxit PDF Editor

Foxit PDF Editor The first and only REAL editor for PDF files. You can change contents in any existing PDF files, in a convenient and efficient way.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 1st, 2006, 07:31 PM
ridetuliv ridetuliv is offline
Junior Member
 
Join Date: Apr 2006
Posts: 1
ridetuliv is an unknown quantity at this point
Default 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
Reply With Quote
  #2  
Old April 5th, 2006, 12:34 AM
arthur's Avatar
arthur arthur is offline
Foxit Support
 
Join Date: Jun 2005
Posts: 669
arthur is a glorious beacon of lightarthur is a glorious beacon of lightarthur is a glorious beacon of lightarthur is a glorious beacon of lightarthur is a glorious beacon of lightarthur is a glorious beacon of light
Default

From our developers:

The temp file "~XXX.pdf" has nothing to do with new file from "Save as", it will only relate to its original PDF. For example, if currently you are editing "a.pdf" file, make changes to it, then click "save", Foxit PDF Editor will product a "~a.pdf" temp file. If you then Save As "b.pdf" file, Editor will generate a new PDF file that has nothing to "a.pdf" or "~a.pdf". Once you close "a.pdf" file, the info of "~a.pdf" will at last writ to "a.pdf". And "b.pdf" will be an independent PDF that has all the changes you made so far.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 10:03 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2005-2008 Foxit Corporation. All rights reserved.