qt5base-lts/tests/auto
Alexander Volkov 559152d911 Make an implicit grab on TouchBegin for a widget subscribed to a gesture
A receiver of TouchUpdate and TouchEnd events is determined either
as a widget which has an implicit grab for the touch point or as a
visible widget if there are no implicit grabs. The events are sent
if the receiver has accepted TouchBegin event or if it is subscribed
to a gesture. Before sending the events to the widget they are
delivered to the gesture manager. Thus, in order to detect gestures
for the widget, it must own an implicit grab or be a visible widget.

It can happen that the parent widget is subscribed to a gesture, but
doesn't accept TouchBegin event, as in the case of QScrollArea. Then it
will not get an implicit grab and gesture detection will be impossible.

Activate an implicit grab for such widgets. Also don't send TouchUpdate
and TouchEnd to them, because it's against the documentation.

Task-number: QTBUG-43277
Change-Id: Id767583991def6d76c48ad15eb39af822cad115d
Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
2016-03-05 21:49:59 +00:00
..
android Fix typo in test results report for android 2015-07-28 21:16:19 +00:00
bic/data bic: Add 5.{1,2,3,4}.0 bic data for linux-gcc-amd64 2015-02-14 06:54:20 +00:00
cmake CMake: Don't attempt gui-tests if Qt is built with -no-gui 2016-01-18 13:00:03 +00:00
compilerwarnings/data Fixed license headers 2015-02-17 18:46:09 +00:00
concurrent Tests: Replace Q[TRY]_VERIFY(v == true|false) by QVERIFY(v)|QVERIFY(!v). 2015-07-27 12:09:19 +00:00
corelib Fix tests for platforms without process support 2016-03-01 09:27:13 +00:00
dbus Autotest: rename the test class so it's different in this test 2016-01-30 03:20:54 +00:00
gui tst_qimagewriter: Fix leaking temporary files. 2016-03-02 14:53:08 +00:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake
network Blacklist tst_qnetworkreply tests that fail in RHEL 7.1 2016-03-03 09:17:44 +00:00
opengl Autotest: Enable make check on rhel 7.1 2016-02-11 05:47:38 +00:00
other Autotest: Enable make check on rhel 7.1 2016-02-11 05:47:38 +00:00
printsupport QMacPrintEngine: Really set the printer resolution 2016-02-25 18:42:47 +00:00
shared Update copyright headers 2015-02-11 06:49:51 +00:00
sql QSqlDriver: use table prefix in WHERE clauses 2016-02-17 23:13:58 +00:00
testlib Fix compilation for WinRT 2015-12-14 08:43:15 +00:00
tools add enablers for printing project errors in cumulative mode 2015-12-21 16:39:31 +00:00
widgets Make an implicit grab on TouchBegin for a widget subscribed to a gesture 2016-03-05 21:49:59 +00:00
xml Fix QDomNamedNodeMap::item crash with negative index 2015-10-29 08:05:45 +00:00
auto.pro Silence warnings about missing dbus-send command not found 2015-09-22 21:19:04 +00:00
network-settings.h Update copyright headers 2015-02-11 06:49:51 +00:00
qtest-config.h Update copyright headers 2015-02-11 06:49:51 +00:00
test.pl Update copyright headers 2015-02-11 06:49:51 +00:00