Title: [155182] trunk/Tools
- Revision
- 155182
- Author
- [email protected]
- Date
- 2013-09-06 02:56:13 -0700 (Fri, 06 Sep 2013)
Log Message
[Qt][WK2] Window used by WebKitTestRunner loses active status
https://bugs.webkit.org/show_bug.cgi?id=120774
Reviewed by Jocelyn Turcotte.
When focusing the PlatformWebView which is done at the start of each test, we should
ensure the host window of PlatformWebView is also made active, otherwise we will
not receive the keyboard events send by EventSenderProxy.
* WebKitTestRunner/qt/PlatformWebViewQt.cpp:
(WTR::PlatformWebView::focus):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (155181 => 155182)
--- trunk/Tools/ChangeLog 2013-09-06 08:04:33 UTC (rev 155181)
+++ trunk/Tools/ChangeLog 2013-09-06 09:56:13 UTC (rev 155182)
@@ -1,3 +1,17 @@
+2013-09-06 Allan Sandfeld Jensen <[email protected]>
+
+ [Qt][WK2] Window used by WebKitTestRunner loses active status
+ https://bugs.webkit.org/show_bug.cgi?id=120774
+
+ Reviewed by Jocelyn Turcotte.
+
+ When focusing the PlatformWebView which is done at the start of each test, we should
+ ensure the host window of PlatformWebView is also made active, otherwise we will
+ not receive the keyboard events send by EventSenderProxy.
+
+ * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
+ (WTR::PlatformWebView::focus):
+
2013-09-05 Seokju Kwon <[email protected]>
Unreviewed build fix. VectorReverse.cpp was removed after r155151.
Modified: trunk/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp (155181 => 155182)
--- trunk/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp 2013-09-06 08:04:33 UTC (rev 155181)
+++ trunk/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp 2013-09-06 09:56:13 UTC (rev 155182)
@@ -128,6 +128,7 @@
void PlatformWebView::focus()
{
+ QWindowSystemInterface::handleWindowActivated(m_window);
m_view->setFocus(true);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes