qt6-bb10/src
Miikka Heikkinen bdc0eaae6b Fix excess enter/leave event generation for native widgets
Native widgets have a native window each, so QPA plugin sends enter and
leave events for associated QWindow whenever mouse cursor moves from
one widget to another. QWidgetWindow had no context to interpret these
events as moves from one widget to another, since they were sent
separately. This resulted in leaves and enters for each widget in
parent chain, when only the bottom child should have gotten them.

Fixed by peeking into window system message queue when handling leave
in QWidgetWindow and retrieving the entered window from queued enter
event.

Also provided a convenience function that QPA plugin can use to
ensure both leave and enter events are in the event queue when
moving from one QWindow to another.

Task-number: QTBUG-27550
Change-Id: I74fec0ac90f6848495c2392c5f7e41624ad8aea2
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
2012-10-19 13:02:17 +02:00
..
3rdparty QTextBoundaryFinder: Introduce BoundaryReason::MandatoryBreak flag 2012-10-10 13:26:13 +02:00
concurrent Modularize documenation build 2012-10-10 23:27:03 +02:00
corelib Make QContiguousCache with zero capacity not crash 2012-10-19 07:50:29 +02:00
dbus Make QtDBus work again with D-Bus 1.0 and 1.1 2012-10-19 02:43:05 +02:00
gui Fix excess enter/leave event generation for native widgets 2012-10-19 13:02:17 +02:00
network Fix spelling mistake in QNetworkDiskCache detailed description. 2012-10-15 16:55:39 +02:00
opengl Change the default major version of QGLFormat to 2. 2012-10-19 02:43:05 +02:00
platformsupport Handle separators in menus in AT-SPI (Linux accessibility) 2012-10-19 00:44:54 +02:00
plugins Accessibility: itemviews check for valid model. 2012-10-19 02:44:40 +02:00
printsupport Revert a change to printer orientation 2012-10-15 22:01:47 +02:00
sql QtSql: Correct documented default precision policy. 2012-10-15 12:19:45 +02:00
testlib Make sure we copy *all known events* properly in order to not assert. 2012-10-18 12:24:13 +02:00
tools Rename the syncqt -qtdir to -mkspecsdir 2012-10-19 00:44:54 +02:00
widgets Fix excess enter/leave event generation for native widgets 2012-10-19 13:02:17 +02:00
winmain Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
xml Modularize documenation build 2012-10-10 23:27:03 +02:00
src.pro src.pro: remove redundant & incorrect platformsupport dependency 2012-08-25 10:29:53 +02:00