--- Comment #12 from V Stuart Foote <[hidden email]> ---
Seems folks need a reminder of what actually happens under the hood in
A native ODF document is _not_ "opened" into LibreOffice--rather its XML is
read and filters import its elements for rendering to document canvas. The
original ODF is set aside to temporary storage (and a lock file may be set).
When exiting from the document:
-- "saving" the document to ODF _always_ writes a completely new ODF
archive--whether any changes were made to the document content or not, the
original is destroyed.
-- "closing" the document, from the File -> Close menu, or the "X" widget on
the LibreOffice main Menu, or even from the OS/DE Window Manager--LibreOffice
will alert to unsaved changes.
User is _always_ prompted to Save Document with an alert dialog with button
Save -- will trigger the filter export to ODF, and will _always_ overwrite
Don't Save -- will close the document deleting internal changes, and release
the original _always_ unchanged (system security on the file object may show
Cancel -- will drop the close action and return focus to document canvas.
There are other actions for exiting of course--e.g. a "save as" that exposes
use of export filters for ODF document formats, or other external formats, but
that when used release the original ODF document (and lock) unchanged.
The Export choices do the same, but instead keep the document open to canvas
(its original ODF held in temp space--a Close -> Don't save would restore it
unchanged releasing its lock).
But that is it! It works the same in all modules, and functions as is needed
consistently for consistent UI. The defaults are sane, and fair warning is
given in the alert prior to any loss.