Bug 144512 - Please make timing of auto-save a per-document action
Summary: Please make timing of auto-save a per-document action
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.1.4.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoSave-AutoRecovery-Backup
  Show dependency treegraph
 
Reported: 2021-09-15 06:55 UTC by Luke Kendall
Modified: 2021-10-01 07:39 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke Kendall 2021-09-15 06:55:47 UTC
See bug https://bugs.documentfoundation.org/show_bug.cgi?id=122530

I don't mean a separate period per document.

I mean, please make the start time used for checking whether auto-save is needed or not, a thing that is measured using properties of that document only.

The reason for this is that auto-save can take a long time, disrupting work flow.

An alternative would be if the auto-save did not block normal editing of the document so you could continue working, but I imagine that would be far harder to achieve and could introduce errors into the saved file.

Perhaps see also the request to document the existing behaviour - 144511
Comment 1 Heiko Tietze 2021-09-30 07:15:04 UTC
If auto save timing would be an option it should not be available in the UI but expert settings only. And in fact it is at Common/Save/Document/AutoSaveTimeIntervall (but unclear in respect to the same variable at Recovery/*).

The solution is clearly to not block editing while saving. Tricky thing as running the operation in the background makes the content inconsistent.

IIRC we had this in the ESC and somehow it should be fixed. But IMO not per option.
Comment 2 Mike Kaganski 2021-09-30 07:27:09 UTC
(In reply to Heiko Tietze from comment #1)
> If auto save timing would be an option

I'm afraid it's some confusion here. The request is to make it an per-doc *action*, not per-doc *option*.

(Not blocking during save is orthogonal; while it could help, *possibly* this one would still be relevant.)
Comment 3 Heiko Tietze 2021-09-30 07:31:46 UTC
There is likely no ODF setting for autosave on/off.
Comment 4 Mike Kaganski 2021-09-30 07:35:49 UTC
(In reply to Heiko Tietze from comment #3)
> There is likely no ODF setting for autosave on/off.

Definitely. And no need for that. Again: the request is not to *disable* or make it configurable; the request is to count the save timeout (which has same value for every document!) separately for each document, starting from its last dirty time. So that document 1 gets auto-saved when e.g. 10 minutes elapsed since *its* edit took place that made it modified; document 2 would auto-save when the same 10 minutes elapsed since *its* dirty time, and not when document 1's timeout happened, etc.
Comment 5 Heiko Tietze 2021-09-30 07:38:25 UTC
I was presuming that timeout is counted for individual documents. If not, sure, do it! No need for UX then...
Comment 6 Luke Kendall 2021-09-30 07:40:52 UTC
Thanks for your comments Mike: exactly what I was trying to say.
Comment 7 Dieter 2021-09-30 07:51:53 UTC
(In reply to Heiko Tietze from comment #5)
> I was presuming that timeout is counted for individual documents. If not,
> sure, do it! No need for UX then...

=> NEW