summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-03-14 14:25:44 +0100
committerAndras Timar <andras.timar@collabora.com>2018-11-13 21:06:37 +0100
commita3b3eea394a5e6388e84d69f32721d11c2e7b2be (patch)
treea1bee248099541d3872123936a37744522571abc
parent691763cee46a2267e53caf75f73fd5a2beb1430f (diff)
tdf#116342 Allow selecting text boxes anywhere by default
Not only by hitting the (invisble) frame or the text content. Change-Id: I125f76a102611b628411d8c5acf70e3ed9e5e8fe Reviewed-on: https://gerrit.libreoffice.org/51276 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> (cherry picked from commit d799436414ab7e28b6bf9a918fd3779b3fc85008) (cherry picked from commit ead83a1a3a346ae8a8206274954edabc6ce1116e)
-rw-r--r--desktop/qa/desktop_lib/test_desktop_lib.cxx3
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Draw.xcs2
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Impress.xcs2
3 files changed, 4 insertions, 3 deletions
diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx
index 7c5c0c18ab38..5dacf4a6255d 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -1233,7 +1233,8 @@ void DesktopLOKTest::testContextMenuImpress()
pDocument->pClass->initializeForRendering(pDocument, nullptr);
pDocument->pClass->registerCallback(pDocument, &DesktopLOKTest::callback, this);
- Point aRandomPoint(1150, 1100);
+ // random point where we don't hit an underlying comment or text box
+ Point aRandomPoint(10, 1150);
pDocument->pClass->postMouseEvent(pDocument,
LOK_MOUSEEVENT_MOUSEBUTTONDOWN,
aRandomPoint.X(), aRandomPoint.Y(),
diff --git a/officecfg/registry/schema/org/openoffice/Office/Draw.xcs b/officecfg/registry/schema/org/openoffice/Office/Draw.xcs
index f92e9a1c4d74..45b4c8ecd125 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Draw.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Draw.xcs
@@ -368,7 +368,7 @@
<desc>Indicates whether a text frame can only be selected by clicking on the text or by clicking somewhere in the frame.</desc>
<label>Only text area selectable</label>
</info>
- <value>true</value>
+ <value>false</value>
</prop>
</group>
<group oor:name="CrossFading">
diff --git a/officecfg/registry/schema/org/openoffice/Office/Impress.xcs b/officecfg/registry/schema/org/openoffice/Office/Impress.xcs
index 323e7eff5639..f87f68d779c1 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Impress.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Impress.xcs
@@ -591,7 +591,7 @@
<desc>Indicates whether a text frame can only be selected by clicking on the text or by clicking somewhere in the frame.</desc>
<label>Only text area selectable</label>
</info>
- <value>true</value>
+ <value>false</value>
</prop>
</group>
<group oor:name="NewDoc">