Apache OpenOffice (AOO) Bugzilla – Issue 95335
Autosave runs every 15 minutes whether it needs to or not
Last modified: 2013-02-07 22:39:02 UTC
I'm working on a large document (~250 pages). It takes about a minute to save the file. This is quite disruptive, but I do need autosave to run. It's especially annoying if I haven't changed the document, it autosaves anyway! This disrupts scrolling through the document as well as typing. (Yes, not being able to type is bug 4333.)
Framework issue.
TM->requirements: please have a look, thanks !
When the user saves a file, the autosave timer should be reset. I have saved my file, and after less than a minute, OO decided to Auto-save the file again!
My document has grown to 400 pages and takes 6 minutes every time a save happens! This makes Writer pretty unusable if autosave happens every 30 minutes and 20% of the time the document is inaccessible for editing and even for reading (scrolling is disabled).
I split my document into chapters (which has its own set of problems). Now, when an autosave happens, it's not as painful, but it still does take the writer away from his concentration on writing. I noticed that autosaves happened much more frequently than the 30 minutes that I specified. I timed it and got the following times between autosaves: :39 (39 seconds) 2:20 (2 minutes, 20 seconds) 1:04 1:15 1:12 :20 These are actual, consecutive times between autosaves. In those seven minutes, autosave happened SIX times!
Same thing happens in OpenOffice.org Calc 3.2 RC1. And it doesn't only auto-save once, it's usually three times in a row or something like that. At least the progress bar goes from 0% to 100% three times or so.
Suggestions: 1. Make autosave an asynchronous task. Copy the current working file into another temporary working file, spawn another thread to save that file, while allowing user to still work on the file. (Note: this idea should not be applied to manual saving) 2. As per comment by skelem, reset autosave when manually saving.
*** Issue 95335 has been confirmed by votes. ***