Kaydet (Commit) d7994364 authored tarafından Samuel Mehrbrodt's avatar Samuel Mehrbrodt

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/51276Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst 005abf98
...@@ -1280,7 +1280,8 @@ void DesktopLOKTest::testContextMenuImpress() ...@@ -1280,7 +1280,8 @@ void DesktopLOKTest::testContextMenuImpress()
pDocument->pClass->initializeForRendering(pDocument, nullptr); pDocument->pClass->initializeForRendering(pDocument, nullptr);
pDocument->pClass->registerCallback(pDocument, &DesktopLOKTest::callback, this); 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, pDocument->pClass->postMouseEvent(pDocument,
LOK_MOUSEEVENT_MOUSEBUTTONDOWN, LOK_MOUSEEVENT_MOUSEBUTTONDOWN,
aRandomPoint.X(), aRandomPoint.Y(), aRandomPoint.X(), aRandomPoint.Y(),
......
...@@ -368,7 +368,7 @@ ...@@ -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> <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> <label>Only text area selectable</label>
</info> </info>
<value>true</value> <value>false</value>
</prop> </prop>
</group> </group>
<group oor:name="CrossFading"> <group oor:name="CrossFading">
......
...@@ -591,7 +591,7 @@ ...@@ -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> <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> <label>Only text area selectable</label>
</info> </info>
<value>true</value> <value>false</value>
</prop> </prop>
</group> </group>
<group oor:name="NewDoc"> <group oor:name="NewDoc">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment