Bug 112364 - Automatic saving on exit without prompt
Summary: Automatic saving on exit without prompt
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoSave-AutoRecovery-Backup File-Versioning Options-Dialog-Load-Save Exit
  Show dependency treegraph
 
Reported: 2017-09-13 07:50 UTC by Alberto Salvia Novella
Modified: 2023-02-03 10:24 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Salvia Novella 2017-09-13 07:50:04 UTC
I would like to suggest that LibreOffice could have the option to save documents by default on exit, without asking. This would enhance rapidly changing between numerous documents.

(https://youtu.be/9di3MpESnSU)
Comment 1 Heiko Tietze 2017-09-21 13:04:51 UTC
What's wrong with the confirmation box?
Comment 2 Alberto Salvia Novella 2017-09-21 13:40:48 UTC
Not exactly wrong, but suboptimal.

In practice that box does nothing to prevent user mistakes. And not having it allows quick changeovers among documents, which leads to a series of other hidden benefits (https://goo.gl/NwP2Ch)

In fact Google Docs is implemented this way.
Comment 3 Heiko Tietze 2017-09-21 14:39:59 UTC
Personally, I don't like those auto saving but let's see what the community says: https://plus.google.com/107566594492891737454/posts/8aeTyEvWhht
Comment 4 m_a_riosv 2017-09-21 16:00:14 UTC
¿It's not clear for me, perhaps only if 'Always create a backup' or 'Versions' are active, so you have a undo, for people that don't know of this 'Autosave', and some way of indication about it is enable, like changing the graphic for the indicator on the status bar that 'The document has been modified', or adding a text indication to the title bar 'Autosave on close active'?

There is another issue and no minor to solve, how to close without save?
What to do when closing LibreOffice without close the document?

So maybe a temporary option only for the current LibreOffice session, selectable on the status bar indication about 'The document has been modified', or ask with the first close dialog, but there is not way to revert this last.
Comment 5 Yousuf Philips (jay) (retired) 2017-09-21 20:46:38 UTC
Unless you have versioning on by default, like you do in google drive, having it save automatically on exit without a prompt is bad UX to be enabled by default for all users. But if a user wishes to set such a setting always on and as such take the responsibility if things go wrong, it could be a feature added to Tools > Options > Load/Save > General.
Comment 6 Alberto Salvia Novella 2017-09-21 22:25:48 UTC
I would offer it as an alternative option, and see how it works for a while. If most people like it or not.

If you ask me how I would implement it if it was my software, I would get rid of the option to save, as Google Docs do.

Not because Docs do that way, but because it makes all the sense: in that scenario having the save option does nothing.

Also the backup also seems residual in that situation. It could simply be saved directly into the file.

Lately, including a message somewhere indicating that the document is been auto-saved sounds like a good idea to me, since traditionally text editors haven't worked that way. Perhaps that could be omitted in the future, if the behaviour becomes common.
Comment 7 Alberto Salvia Novella 2017-09-21 22:27:57 UTC
Bottom-line is that manually saving is heritage from a time were writing to disk was resource expensive, but today it does nothing. Even on preventing user mistakes.
Comment 8 Yousuf Philips (jay) (retired) 2017-09-22 13:05:15 UTC
(In reply to Alberto Salvia Novella from comment #7)
> Bottom-line is that manually saving is heritage from a time were writing to
> disk was resource expensive, but today it does nothing. Even on preventing
> user mistakes.

There will always be users who have slower computers, hard disk or ram, that auto saving wont good UX, but you also have users opening documents from networked or online sources where auto saving would also be bad UX, and with auto saving with versioning on by default will lead to larger files. The best solution is to fix the current autosave feature that has been disabled in bug 65509 as it doesnt function correctly.
Comment 9 Heiko Tietze 2017-09-28 14:46:58 UTC
G+ poll shows a split with 50% people encouraging this enhancement. So we should introduce this function optionally with a checkbox under Tools > Options > Load/Save > General (ideally next to 'Save AutoRecovery information') labeled "[ ] Auto save on exit" set to off by default. The checkbox should have indented radio buttons for "(o) Add versions" and "( ) Override file" disabled unless the auto save checkbox is on.
Since the function works only on exit, feedback is not relevant.

ESC had concerns about the versioning as it does no diff but saves the whole content at the moment, is error-prone and difficult to test.
Comment 10 Yousuf Philips (jay) (retired) 2017-09-29 03:26:45 UTC
(In reply to Heiko Tietze from comment #9)
> The
> checkbox should have indented radio buttons for "(o) Add versions" and "( )
> Override file" disabled unless the auto save checkbox is on.

As most people dont use versioning and ESC mentioned the problems with it, it would be better that '(o) Add versions' be the second radio button.
Comment 11 Heiko Tietze 2017-09-29 07:46:36 UTC
(In reply to Yousuf Philips (jay) from comment #10)
> As most people dont use versioning and ESC mentioned the problems with it,
> it would be better that '(o) Add versions' be the second radio button.

Clearly not following the discussion at the poll. It's rather a blocker for this request, we need proper versioning before this can be done.
Comment 12 Justin L 2023-02-03 01:20:38 UTC
Saving on exit would be the same thing as getting rid of the "cancel" button on all dialogs and only having an "OK" option. Clearly a bad thing.

Only in extreme situations should "auto-save" affect the working document - it certainly does not apply to the general desktop application, and doing so as a default config would be a tragedy.
Comment 13 Alberto Salvia Novella 2023-02-03 09:43:18 UTC
@Justin L

Not because with the "cancel" button you usually don't get an "undo" button, hence "cancel" is the only way to undo.

But not in a document.
Comment 14 Heiko Tietze 2023-02-03 10:24:12 UTC
Let's resolve this as WF. If users want a very special behavior it should be possible to execute uno:Save followed by uno:Quit via macro - and replace the exit function by this.