[Libreoffice-bugs] [Bug 122530] FILESAVE: Auto save timing logic problem: can save too frequently

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Sep 14 20:50:16 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=122530

Mike Kaganski <mikekaganski at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #24 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to Luke Kendall from comment #10)
> Surely the logic of the auto-save should be, the time is measured from the
> last time the document was saved, regardless of whether that was a manual
> save or an auto save?  That time should be a per-document property.

Well, I would possibly agree that it *could* look reasonable to count per
document.

However, the measure then should not be "measured from the last time the
document was saved". This is flawed idea: the correct starting point should be,
*given the spirit of this request*, the moment when the file got dirty (i.e.,
the first edit was made).

Think about it. If you count since file open, you would have the same
unexpected result:

0. Set interval to 30 minutes.
1. Open a file. Don't edit it yet.
2. Open other files, and edit them ...
3. After 29 minutes and 30 seconds, switch to the first document, and start
editing it.
4. And suddenly, when you have just started, the 30 minutes timeout elapses,
and it starts saving your 30-second edits.

Wrt comment 13: please file a documentation bug separately.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210914/a6753f63/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list