qt5base-lts/src
Richard Moe Gustavsen 28f32afd3f iOS: Be more careful when hiding the keyboard upon enter
A typical pattern in an application is to listen
for "enter" in a line edit and transfer focus to
the next edit in the focus chain. This would currently
not work on iOS since we would force the keyboard down
after delivering the KeyPress/release events, effectively
overriding any focus handling done by the app.

This patch will hide the keyboard _before_ sending the
events, so that we don't override focus handling done
by the app. By also hiding the keyboard using
QInputMethod, the hiding will also be delayed a bit
(in QIOSInputContext) to catch subsequent hide/show calls.

Change-Id: Ic19511d494a55d1bda963ed9bc7185d63b51bc03
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
2014-05-23 14:46:19 +02:00
..
3rdparty ANGLE WinRT: Create swap chain using physical resolution 2014-05-22 07:59:49 +02:00
android Restore fullscreen mode after keyboard is dismissed 2014-05-14 20:10:03 +02:00
angle ANGLE WinRT: Create swap chain using physical resolution 2014-05-22 07:59:49 +02:00
concurrent Doc: Add docs for QtConcurrent::{Unhandled,Exception} 2014-03-17 20:52:42 +01:00
corelib fix and de-duplicate qprocess apidocs 2014-05-23 11:39:25 +02:00
dbus CMake: Include the CMakeParseArguments module for dbus macros. 2014-04-16 15:21:50 +02:00
gui escape apostrophe 2014-05-23 11:39:25 +02:00
network Mark the missing QDnsLookup constructor as \internal 2014-05-21 23:41:20 +02:00
opengl Merge remote-tracking branch 'origin/release' into stable 2014-05-03 00:56:41 +02:00
openglextensions purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00
platformsupport egl cursor: The sampler is a uniform not an attribute 2014-05-19 12:51:33 +02:00
plugins iOS: Be more careful when hiding the keyboard upon enter 2014-05-23 14:46:19 +02:00
printsupport QPrintDialog OSX: Fix qApp->processEvents arguments 2014-05-22 21:44:01 +02:00
sql Fix for bindvalue(int) memory allocation problem 2014-05-21 17:30:13 +02:00
testlib Fix auto test failure output on QNX 2014-05-19 10:03:38 +02:00
tools purge obsolete variable documentationPath 2014-05-23 11:39:25 +02:00
widgets Trigger repaint of window when toggling unified toolbar on or off. 2014-05-22 02:52:54 +02:00
winmain WinRT winmain: Pass ImagePath as part of ImageParams in Xap packages 2014-04-01 12:28:10 +02:00
xml Fix copy-paste error. 2014-04-18 14:26:26 +02:00
src.pro purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00