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

--- Comment #7 from Eyal Rozenberg <[email protected]> ---
Created attachment 201394
  --> https://bugs.documentfoundation.org/attachment.cgi?id=201394&action=edit
Add option not to include app configuration settings in saved documents

When LibreOffice saves a document in ODF or Flat ODF format, it saves a large
number of application configuration parameters, either in settings.xml in the
case of a full-fledged ODF file, or within:

<office:document ... etc. etc... >
 <office:settings>
  <config:config-item-set config:name="ooo:configuration-settings">

in the FODT hierarchy.

Regardless of whether that's a good thing to do by default - users may not be
interested in sharing their app configuration with others; or they might want
to limit the content saved in the document to _just_ what they intended to put
in the document, e.g. content and styles. 

Typically, a user would not know - unless they inspected the ODF/Flat ODF's
XML, that these configuration settings are saved at all.

I therefore propose:

1. An easily-discoverable toggle for saving configuration data in files, by
default (either just ODT/Flat ODT or for all formats, where the semantics might
vary by format).
2. Placing a toggle on the Save... / Save As... dialogs controlling whether
such data would be included in the current Save operation. This would be
similar to the "Save with Password" and other toggles already present in the
Save... / Save As... dialog.

Note that this also has some benefits w.r.t. QA and development, in that files
would be smaller, diff's between files would be smaller, and it would not be
necessary to verify that differences in behavior are not the result of app
configuration changes. (Although to be fair, that effect can also be achieved
by editing the files saved.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to