Go to file
Kevin Ottens 2832aaacd4 Make sure the emulated mouse event comes last
With the recent refactoring in qtdeclarative for the handling of touch
and mouse events, QQuickCanvas automatically transforms touch events in
mouse events too.

It means that since we do something similar in the platform plugin, in
the case of QQuickCanvas the mouse event is duplicated. It it fine
except that having mouse event, touch event, mouse event in that order
is likely to mess the states of some elements. It happens to be the case
for MouseArea which will discard the second mouse event in the case of a
press, and because of that not receive the other events.

By changing the order in the plugin, we ensure getting events in the
following order: touch event, mouse event, mouse event. In the case of
MouseArea, since the press event will be accepted with nothing in
between, we'll keep receiving the other events.

Note that we can't simply remove the mouse event simulation on our side,
otherwise we'd break QWidget support.

Change-Id: If08fe0d97c6d60d0f858b228a014d94bc86dcf6f
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
2012-07-13 12:09:42 +02:00
bin remove support for syncqt-based config tests 2012-07-12 17:18:36 +02:00
config.tests linuxfb: Add config.test and configure support 2012-07-11 14:55:27 +02:00
dist Add support for SQLSTATE error codes 2012-07-03 13:21:23 +02:00
doc Remove the MacMainWindow example. 2012-05-30 01:54:45 +02:00
examples Analog clock and raster window examples 2012-07-13 09:55:18 +02:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs fix splitting of $PATH when looking for sh.exe 2012-07-12 17:19:17 +02:00
qmake remove another symbian remnant: QMAKE_RVCT_LINKSTYLE 2012-07-12 17:19:13 +02:00
src Make sure the emulated mouse event comes last 2012-07-13 12:09:42 +02:00
tests statemachine: Make signal transition registration thread-safe 2012-07-13 12:09:42 +02:00
tools configure{.exe}: enable 'tools' as a default build part 2012-07-10 08:33:49 +02:00
util QUnicodeTables: some internal API renamings 2012-06-22 09:47:59 +02:00
.gitattributes Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
.gitignore Update .gitignore to ignore mkspecs/default-host 2012-07-09 15:14:26 +02:00
.tag Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
configure linuxfb: Add config.test and configure support 2012-07-11 14:55:27 +02:00
configure.bat Remove Q_BYTE_ORDER and -*-endian arguments from configures 2012-03-02 14:48:00 +01:00
header.BSD Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.FDL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL-ONLY Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
INSTALL Remove Symbian specific code from qtbase. 2012-01-31 07:08:31 +01:00
LGPL_EXCEPTION.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.GPL Add the LICENSE.GPL file to the module referenced from license headers 2012-05-20 22:41:08 +02:00
LICENSE.LGPL Update contact information in license headers. 2012-01-23 04:04:33 +01:00
LICENSE.PREVIEW.COMMERCIAL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtbase.pro remove support for syncqt-based config tests 2012-07-12 17:18:36 +02:00
sync.profile Extend the sync profile with generating forward header for qnumeric.h 2012-07-10 03:25:04 +02:00