Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d846847de80374c47cef9f6fb89e357125ca8d1e
      
https://github.com/WebKit/WebKit/commit/d846847de80374c47cef9f6fb89e357125ca8d1e
  Author: Aiswarya Kaitheri Kandoth <[email protected]>
  Date:   2026-04-10 (Fri, 10 Apr 2026)

  Changed paths:
    M Source/WebKit/UIProcess/API/wpe/qt6/WPEQtView.cpp

  Log Message:
  -----------
  [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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to