[Libreoffice-bugs] [Bug 128048] New: When the app is about to be terminated by the system, it should perhaps save the current document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Oct 9 12:08:24 UTC 2019


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

            Bug ID: 128048
           Summary: When the app is about to be terminated by the system,
                    it should perhaps save the current document
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: iOS
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: tml at iki.fi

Description:
If you have a document open, you have done some edits, and then switch to other
apps for a while, and those apps require lots of system resources, the system
will (hopefully) notify the Collabora Office app that it will be terminated
(and after that terminate it with an uncatchable signal). This invokes the
applicationWillTerminate: method of the UIApplicationDelegate. That will (now,
after fixing tdf#126974) just cause the app to exit.

What it *should* do is probably cause the current open document, if any, to be
saved in an orderly fashion, and only then exit. On the other hand, as the app
has a separate "Save" button, and a "File > Save" menu entry, perhaps the
intended workflow is not one where the document is saved automatically, but
only on user request?

On the other hand, the app does auto-save changes to the document at regular
intervals already, if I understand correctly, so doing an auto-save right
before the system decides to kill the app would not be that different.

(Actually, this is IMHO self-contradictory. The old-fashioned desktop editor
paradigm where an open document is saved only when explicitly requested is
mixed with a more modern paradigm where the document being edited is
automatically saved, ideally constantly (for which our time-based auto-save is
a substitute), and no explicit saving necessary of even offered. The app has
both automatic saving *and* explicit saving...)

Steps to Reproduce:
.

Actual Results:
.

Expected Results:
.


Reproducible: Always


User Profile Reset: No



Additional Info:
.

-- 
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/20191009/08e09717/attachment.html>


More information about the Libreoffice-bugs mailing list