path: root/src/webenginewidgets/
diff options
authorAlexandru Croitor <>2016-09-07 13:26:53 +0200
committerMichal Klocek <>2016-10-14 09:11:39 +0000
commitee6f018a67b6443100a1454c9ab9a7a897289535 (patch)
tree1cd2f0b8a0de9017229d8890609442123bcf6385 /src/webenginewidgets/
parent2b953bf803aa74f4c6e1e3f06b22887c1ac80961 (diff)
Fix IME window placement relative to QWebEngineView
The position of the IME window is computed using the widget input item transform. When a regular QWidget gets a focusIn event, the input item transform is recomputed inside the QWidgetPrivate::updateWidgetTransform method. This did not happen for the QWebEngineView, because the focus event is handled internally and not passed down to QWidget::event. Fix consists in calling updateWidgetTransform manually whenever the view receives focus. The other cases when updateWidgetTransform should be called (namely resize and move events) are handled properly by delegating to QWidget::event. Task-number: QTBUG-55634 Change-Id: Ic93662929e169d860f8ca567f1955da4dc45f9fe Reviewed-by: Allan Sandfeld Jensen <>
Diffstat (limited to 'src/webenginewidgets/')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webenginewidgets/ b/src/webenginewidgets/
index 5687bffaf..cc48f1198 100644
--- a/src/webenginewidgets/
+++ b/src/webenginewidgets/
@@ -4,7 +4,7 @@ TARGET = QtWebEngineWidgets
QT += webenginecore widgets network quick
-QT_PRIVATE += quick-private gui-private core-private
+QT_PRIVATE += quick-private gui-private core-private widgets-private
INCLUDEPATH += $$PWD api ../core ../core/api ../webengine/api