Bug 424016 - Asking to recover project after saving the file
Summary: Asking to recover project after saving the file
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: unspecified
Platform: unspecified Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-09 05:43 UTC by V4vachan
Modified: 2020-07-28 03:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description V4vachan 2020-07-09 05:43:45 UTC
SUMMARY
Even after saving a file. Kden prompts me to recover from a backup file even though I saved the project. When I open my project from the backup and close the program and then open the original saved project. It works perfectly.


STEPS TO REPRODUCE (happens occasionally)
1. Open a new project
2. Save the project
3. Close KDEN LIVE
4. Open saved file from the recent menu in the program
5. Warning may appear
6. Recover from backup
7. Close KDEN live without saving
8. Open the original project once again.

OBSERVED RESULT
KDEN live asks me to recover from a backup file. I loose some project data
Close kden live without saving and open the original project again, everything works fine.


EXPECTED RESULT
Open the project.

SOFTWARE/OS VERSIONS
Windows: 10 2004
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Jean-Baptiste Mardelle 2020-07-13 07:36:51 UTC
Git commit 9cac6b3bf070318e5a2c0d744ba3bce229dad475 by Jean-Baptiste Mardelle.
Committed on 13/07/2020 at 07:36.
Pushed by mardelle into branch 'release/20.08'.

Ensure auto-saved file is newer than project before proposing to recover data.

M  +10   -3    src/project/projectmanager.cpp

https://invent.kde.org/multimedia/kdenlive/commit/9cac6b3bf070318e5a2c0d744ba3bce229dad475
Comment 2 V4vachan 2020-07-28 03:00:13 UTC
(In reply to Jean-Baptiste Mardelle from comment #1)
> Git commit 9cac6b3bf070318e5a2c0d744ba3bce229dad475 by Jean-Baptiste
> Mardelle.
> Committed on 13/07/2020 at 07:36.
> Pushed by mardelle into branch 'release/20.08'.
> 
> Ensure auto-saved file is newer than project before proposing to recover
> data.
> 
> M  +10   -3    src/project/projectmanager.cpp
Thanks
> 
> https://invent.kde.org/multimedia/kdenlive/commit/
> 9cac6b3bf070318e5a2c0d744ba3bce229dad475