summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorJustin Luth <jluth@mail.com>2023-07-15 15:42:18 -0400
committerMike Kaganski <mike.kaganski@collabora.com>2023-07-18 19:23:42 +0200
commit09d3e887b41a36bd0852ac004c6744f447361ac6 (patch)
treec5af4f93bf0152beef89a34d72a3b7f3cdac47c6 /officecfg
parent79113484cacb630f93f87c483b6c5d97c47b8728 (diff)
tdf#68565 autosave: add option to store backup in document's folder
Creating a backup copy became the default in LO 7.6. Allow the user to choose whether to store this previous version of the file beside the original file (in the same folder). The historical (and still the default) action is to store it in a special backup folder instead. The problem with the backup folder is that it overwrites files that happen to have the same name (because the originals reside in different directories), which is not uncommon. Adding this option allows the user to overcome that limitation. However, I do not want this new option to become the default, because it effectively doubles the number of documents stored in the document folder. I think that is very messy, and previous versioning is best left to dedicated backup tools - which would not appreciate doubling the number of documents they preserve. Plus I've worked with enough novice users to know that people are easily confused when multiple documents have (essentially) the same name. Change-Id: I503f656af91807019587e3d7b0d82b661f1eb437 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154489 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Common.xcs9
1 files changed, 9 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
index 2e13f32a1fb3..b0b98d5f8cd4 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
@@ -2064,6 +2064,15 @@
</info>
<value>true</value>
</prop>
+ <prop oor:name="BackupIntoDocumentFolder" oor:type="xs:boolean" oor:nillable="false">
+ <!-- UIHints: Tools Options - General Save - [Section] Save -->
+ <info>
+ <desc>Specifies whether to save the backup copy into the same folder
+ as the original document.</desc>
+ <label>Place backup in same folder as document</label>
+ </info>
+ <value>false</value>
+ </prop>
<prop oor:name="EditProperty" oor:type="xs:boolean" oor:nillable="false">
<!-- UIHints: Tools Options - General Save - [Section] Save -->
<info>