Jump to content
WnSoft Forums

Strange behaviour during saving


AllieB

Recommended Posts

During working at the timeline you have to save the changes regurlary. When you do so the first time the file is named (in my case) Flora.pte which is correct. The existing file is changed  into Flora.pte.bak which is correct.

The next time you saved the file both files are named Flora.pte.bak; suppose both files name ..bak are true copies.

When you the next time saves one of the bak files are saves as Flora.pte and the other remains ..bak.

Example:

Flora-lock                   o.k.

Flora.pte.bak              in stead of Flora.pte

Flora.pte.bak              o.k.

I have the option make a back-up file actived.

I am not sure of this is a real problem os only a name-problem

AllieB

Captura de ecrã 2022-12-30 123743.png

Link to comment
Share on other sites

I tried an other way but when you put a slide or make a change the above signalised problem didn´t occur.

I had the problem when I doubleclicked a slide in the timeline, opens with transitions and you close with "OK". Then this alternate behavior occurs.

Link to comment
Share on other sites

  • 3 weeks later...

Sorry, I'm not sure that I rightly understood your question and described problem.

I checked the code. On every Save Project command, PTE AV Studio performs the following simple steps:

1. An old .bak file is being deleted (if existed).

2. Existing ProjectName.pte file is being renamed to ProjectName.pte.bak 

3. Saving a new ProjectName.pte file.

P.S. Note that user shouldn't rewrite .pte.bak file directly (by replacing .bak file manually), it breaks steps described above.

Link to comment
Share on other sites

My video was not clear enought.

This is the correct description:

Assume you open a PTE project named GEROME.pte

PTE creates a dummy file named GEROME.lok wich indicates to Windows that the project is being modified.

Assume you modify the project and save it without changing the name.

PTE renames the original file GEROME.pte.bak and creates a new file named GEROME.pte

Whem you close the project, PTE deletes the lock file.

Backup.png

  • Thanks 1
Link to comment
Share on other sites

I attached two file to describe my situation.

The first file shows the files before start;

after start the lock-file pops up just like Tonton Bruno shows in his film;

Changing one issue in de open PTE-file makes the save icon blue,

Save the file by clicking on that icon and you get the situation as showed in my second file.

However closing the PTE-file makes the first pte-file rename to filename.pte and the filename.pte.bak stays in place. Note that the .bak-file must be the original from yesterday according to the timestamp.

I tried to make my situation clear.  BTW I am not sure if it is a real problem because after saving again the not really bak-file is again renamed to the .pte-file.

Thanks for reading,

AllieB

 

Captura de ecrã 2023-01-17 154334.png

Captura de ecrã 2023-01-17 154523.png

Captura de ecrã 2023-01-17 155401.png

Link to comment
Share on other sites

After looking again to file number two that according to the timestamp it should be a copy of the original .bak file with the same data. After closing the program the first .bak file is replaced by a real .pte file. see my third file.

AllieB

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...