summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorSarper Akdemir <sarper.akdemir.extern@allotropia.de>2023-07-12 17:15:13 +0300
committerThorsten Behrens <thorsten.behrens@allotropia.de>2023-07-21 14:32:16 +0200
commit83f7c6fe5bb233fa9827ff968710822b95562075 (patch)
tree11da6c859f2a95e4015d23cf710ece36d5f94666 /officecfg
parent3a23c6c7a38317794cc7e8894e6a82f4418c8c6d (diff)
tdf#50725: sd: add new configuration option DragThresholdPixels
Adds new expert configuration option DragThresholdPixels for Impress and Draw under Misc/DragThresholdPixels. Also bumps up the previous hardcoded default value from 2 to 6. Assuming this value was set when 640x480 resolution was the most common resolution, currently scaling the hardcoded default by 3 makes sense. (eg. GTK uses 8 pixels as the default) Change-Id: I35c0eed3ce477685c759f517471ce0bdc8315864 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154379 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Draw.xcs7
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Impress.xcs7
2 files changed, 14 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Draw.xcs b/officecfg/registry/schema/org/openoffice/Office/Draw.xcs
index 91dce3db345d..069479636c8b 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Draw.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Draw.xcs
@@ -308,6 +308,13 @@
</info>
<value>true</value>
</prop>
+ <prop oor:name="DragThresholdPixels" oor:type="xs:int" oor:nillable="false">
+ <info>
+ <desc>Defines number of pixels the cursor can move before dragging.</desc>
+ <label>Drag Threshold</label>
+ </info>
+ <value>6</value>
+ </prop>
<group oor:name="TextObject">
<info>
<desc>Defines text editing related configuration items.</desc>
diff --git a/officecfg/registry/schema/org/openoffice/Office/Impress.xcs b/officecfg/registry/schema/org/openoffice/Office/Impress.xcs
index cd7f06b87070..adb6d257b01e 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Impress.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Impress.xcs
@@ -509,6 +509,13 @@
</info>
<value>false</value>
</prop>
+ <prop oor:name="DragThresholdPixels" oor:type="xs:int" oor:nillable="false">
+ <info>
+ <desc>Defines number of pixels the cursor can move before dragging.</desc>
+ <label>Drag Threshold</label>
+ </info>
+ <value>6</value>
+ </prop>
<group oor:name="TextObject">
<info>
<desc>Contains text editing related configuration items.</desc>