qt5base-lts/src
Oliver Wolff d4c548ce5c Fixed assert in Windows key handling
Certain key sequences (like press alt, press left, release left,
release alt) can cause an assert in qwindowskeymapper. This
behavior was introduced in change
I4f7709a90906b03f4504deea1ff5c361e9f94b3f (Fix virtual key
mapping on MS Windows). The place that seems to cause the new
behavior is changing the bitmask for obtaining the event's scancode.

With the changed bitmask releasing the alt key in the given
key sequence causes the WM_KEYUP event to trigger a WM_CHAR event
which should not happen there. To be honest I don't know how having
the extended bit inside the scancode fixes the behavior but it seems
to do and I could not find another place which might cause the
breakage.

Task-number: QTBUG-35005
Change-Id: Ia18c2681ea311196441a5cd15017e220ac095674
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2013-11-23 19:58:34 +01:00
..
3rdparty Fix xkb.h compile warning on 32 bit systems 2013-11-21 09:25:23 +01:00
android REG: Fix changing input method parameters on Android 2013-11-14 21:15:35 +01:00
angle use private linkage where possible 2013-10-31 19:49:32 +01:00
concurrent Doc: Updated url variable in qdocconf files. 2013-11-06 11:31:39 +01:00
corelib iOS: Use separate release pool for qt_ios_version() 2013-11-22 22:36:38 +01:00
dbus Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
gui Avoid incorrect warning when painting onto a QImage 2013-11-23 15:44:55 +01:00
network QSslConfiguration: rename [get]session() to [get]sessionTicket() 2013-11-08 18:58:27 +01:00
opengl Doc: Fix broken links 2013-11-05 00:29:01 +01:00
openglextensions Use BSD licensing for QtOpenGLExtensions instead of LGPL 2013-06-24 10:16:32 +02:00
platformsupport Android: Initialize mWindowState 2013-11-14 21:15:35 +01:00
plugins Fixed assert in Windows key handling 2013-11-23 19:58:34 +01:00
printsupport Match up the specified paper size to an existing one if possible 2013-11-14 21:15:35 +01:00
sql Doc: Updated url variable in qdocconf files. 2013-11-06 11:31:39 +01:00
testlib Revert "Add tracing to logging framework" 2013-11-07 11:29:30 +01:00
tools Doc: Updated the \l links in the manual 2013-11-14 21:15:35 +01:00
widgets Revert "Ensure Qt::WA_Mapped is set in case of obscured native windows." 2013-11-21 16:28:36 +01:00
winmain winmain for winrt 2013-09-14 15:42:24 +02:00
xml Fully expand entities to ensure deep or widely nested ones fail parsing 2013-11-14 17:43:58 +01:00
src.pro Explicitly mark subdirs as host_builds in SUBDIRS template 2013-10-18 18:01:54 +02:00