Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: 5a476d9daf628e6b49483d4b390d9ebcaa0a13bf
https://github.com/WebKit/WebKit/commit/5a476d9daf628e6b49483d4b390d9ebcaa0a13bf
Author: Aiswarya Kaitheri Kandoth <[email protected]>
Date: 2026-04-13 (Mon, 13 Apr 2026)
Changed paths:
M Source/WebKit/UIProcess/API/wpe/qt6/WPEQtView.cpp
Log Message:
-----------
Cherry-pick 310912@main (d846847de803).
https://bugs.webkit.org/show_bug.cgi?id=311803
[WPE][Qt6] WPEQtView emits a premature focus change.
https://bugs.webkit.org/show_bug.cgi?id=311917.
Reviewed by Adrian Perez de Castro.
Moving forceActiveFocus() to after the m_webView null check prevents the
focus signal from being emitted while the view is unready, and thus
prevents input methods from attempting to cast an uninitialized object.
* Source/WebKit/UIProcess/API/wpe/qt6/WPEQtView.cpp:
(WPEQtView::mousePressEvent): Move forceActiveFocus() after m_webView
null check.
Canonical link: https://commits.webkit.org/310912@main
Canonical link: https://commits.webkit.org/305877.413@webkitglib/2.52
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications