When the activity is stopping or onSaveInstanceState is called (whatever the correct event) we need to save the current work to a temp file, and restore it when we continue. If we don't do this then the unsaved changes will be lost which could happen by only switching to another app and back.
*** Bug 107421 has been marked as a duplicate of this bug. ***
Mert Tumer committed a patch related to this issue.
It has been pushed to "master":
tdf#106648 save current work when switching to other apps
It will be available in 6.2.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
A polite ping to Mert Tumer:
Is this bug fixed? if so, could you please close it as RESOLVED FIXED ? Otherwise, Could you please explain what's missing?
*** Bug 118790 has been marked as a duplicate of this bug. ***