diff options
author | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2016-02-12 10:38:44 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2016-02-16 14:03:14 +0000 |
commit | 31efe25d14bdcf42ad15b64731314ffdad431714 (patch) | |
tree | 958f6d4d81b52eb231634957b00c2a4ad5616c09 /src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc | |
parent | c092314bf0a4f4ab84040138366848d78a0686ad (diff) |
Fix doubled characters when using IME on Windows
On Windows, when exiting the IME by pressing a cursor key or clicking
into the edit field, we do not receive an QInputMethodEvent with a
commitText. Instead, we get an empty QInputMethodEvent and a
key{Press|Release}Event pair with a key of zero. The committed text
is in the event's text property.
Do not call ImeConfirmComposition for the empty QInputMethodEvent
but for the later keyReleaseEvent. Do not forward those key events.
Change-Id: I844aa05493aca4c388a8b1de835baf2a819558f5
Task-number: QTBUG-50252
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc')
0 files changed, 0 insertions, 0 deletions