Bug 377512 - Feature request: autosaving
Summary: Feature request: autosaving
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: 16.12.2
Platform: Mint (Ubuntu based) Linux
: NOR wishlist
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-12 03:35 UTC by Dany
Modified: 2017-09-17 16:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
snd.noise: low_hanging+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dany 2017-03-12 03:35:45 UTC
kdenlive often crash. Too often. Often we lost hours of work because, deep on tracks and clips, not saving. The autosave of DrKonqi often does not work. Too often too. It would be useful the user be able to set an automatic save to 3 or 5 or 10 or 20 or... minutes.
Comment 1 farid 2017-03-15 15:54:28 UTC
For me the crash recovery has worked well but I honestly have made it a habit when working to press ctrl + s using any program (gimp, inkscape, blender, kdenlive, etc...).

Although this is a neat feature to have and probably easy to implement. Will mark it as low hanging for those interested.
Comment 2 Wegwerf 2017-03-17 17:03:50 UTC
Crash recovery is actually autosave. It even says "autobackup" in the configuration dialog. Closing.
Comment 3 Wegwerf 2017-03-17 17:05:58 UTC
I really can't believe that someone is loosing hours of work because s/he does not save in between and keeps also separate backups. Farid, you and me, as well as a lot of users work a lot with Kdenlive and on moderately sized projects (11 tracks, 100 clips for me) and I never lost a project by not saving in regular intervals.
Comment 4 Dany 2017-03-17 20:34:03 UTC
Do it what you want, but my Kdenlive has crashed many times and a lot of them autobackup was not working. My mistake? Maybe. My linux configuration? Maybe.
But the truth is that autobackup don't work always.
Closing? Closing.
Comment 5 Wegwerf 2017-03-17 21:04:17 UTC
Then give clear details about how the existing autosave function isn't working. Generalizations such as "often crash" are useless in bug reports as they do not offer any clue as to what is the real problem and how do you suppose developers to fix a bug that isn't reproducible? The existing autosave is timed, but only after changes. Interestingly, the existing autosave seems to be totally sufficient to a large user base as we hadn't a feature request for it in the past. Of course, that doesn't preclude a feature as such. But for a crucial topic such as loss of data we would surely get a lot of reports if it were a general concern. Thanks for your understanding.
Comment 6 Dany 2017-03-17 22:06:08 UTC
You are right. And it is better if I explain some things... 
I'm a user, not a developer. If DrKonqi don't generate a usefull report (like often it do), I'm not able to give you usefull report myself;
I'm italian with very very little English language knowledge. I can't explain and write  technical topic like I would. I never know if what I write is understandable.
I would like to be more helpfull about bug report, but I can't.
Finally, I'm a newbie in Linux world too.
1 + 2 + 3 = me!

I hope you all understand my limit. I love Linux and Kdenlive, I would just have a working software without having to be a technician.
I submitted a request that I thought would be useful. It isn't? Well, friends like before.
Comment 7 Jean-Baptiste Mardelle 2017-03-19 20:36:24 UTC
Dany, Kdenlive should automatically save your document if it was modified after 3 seconds of inactivity or at lease every 5 minutes. I had a look, and I see one possible case where this would not work:
In previous Kdenlive versions, we had a configure option in the settings to enable/disable the autosave. We now have removed the interface option because nobody has an interest to disable this. However if in a previous Kdenlive version you disabled autosave, with newer Kdenlive, the feature will be disabled without possibility to re-enable it. I just fixed this for 17.04, but can you check if that is your problem ?

Open Kdenlive settings file in a text editor:
$HOME/.config/kdenliverc

And check if you have a line like this:
crashrecovery=false

If that is the case, delete this line and save the file, autosave will work after that. If you don't have this line, this might be another issue.

Kdenlive autosaves files in this folder:
$HOME/.local/share/stalefiles/kdenlive/

Open a file browser in this directory, then start Kdenlive and edit a project. You should see a file created and modified every 3 seconds after a change in the project. 

Please test and report here.
Comment 8 Jean-Baptiste Mardelle 2017-03-19 20:37:36 UTC
Git commit d9ecb0751bcd82592506e5ebf18743ac56624d24 by Jean-Baptiste Mardelle.
Committed on 19/03/2017 at 20:37.
Pushed by mardelle into branch 'master'.

Make sure autosave is enabled in all cases

M  +1    -1    src/doc/kdenlivedoc.cpp
M  +0    -5    src/kdenlivesettings.kcfg

https://commits.kde.org/kdenlive/d9ecb0751bcd82592506e5ebf18743ac56624d24
Comment 9 Jean-Baptiste Mardelle 2017-03-22 11:16:42 UTC
Git commit 604247a4ac88912a83d6a919111da5e0ef617c32 by Jean-Baptiste Mardelle.
Committed on 22/03/2017 at 11:09.
Pushed by mardelle into branch 'refactoring_timeline'.

Make sure autosave is enabled in all cases

M  +1    -1    src/doc/kdenlivedoc.cpp
M  +0    -5    src/kdenlivesettings.kcfg

https://commits.kde.org/kdenlive/604247a4ac88912a83d6a919111da5e0ef617c32
Comment 10 farid 2017-08-28 16:43:03 UTC
Can we close this?
Comment 11 Christoph Feck 2017-09-17 16:15:24 UTC
No response, assuming it is working. If you still see a bug, please add a comment or a new ticket.