Branch: refs/heads/webkitglib/2.52
  Home:   https://github.com/WebKit/WebKit
  Commit: 19920f413ac425a4cd35993a126176b433d410e2
      
https://github.com/WebKit/WebKit/commit/19920f413ac425a4cd35993a126176b433d410e2
  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
    M Source/WebKit/UIProcess/API/wpe/qt6/WPEQtView.h

  Log Message:
  -----------
  Cherry-pick 310923@main (61aef66cb385). 
https://bugs.webkit.org/show_bug.cgi?id=311803

    [WPE][Qt6] WPEQtView does not notify when an item gains or loses focus.
    https://bugs.webkit.org/show_bug.cgi?id=311814.

    Reviewed by Adrian Perez de Castro.

    WPEQtView calls forceActiveFocus() on mouse press, which makes Qt to
    update its focus state. However, focusInEvent and focusOutEvent were
    never overridden, so the underlying WPE view was never notified via
    wpe_view_focus_in() or wpe_view_focus_out(). This caused JavaScript
    focus events to malfunction.

    * Source/WebKit/UIProcess/API/wpe/qt6/WPEQtView.cpp:
    (WPEQtView::focusInEvent): Added. Calls wpe_view_focus_in().
    (WPEQtView::focusOutEvent): Added. Calls wpe_view_focus_out().
    * Source/WebKit/UIProcess/API/wpe/qt6/WPEQtView.h: Declare the two
      overrides.

    Canonical link: https://commits.webkit.org/310923@main

Canonical link: https://commits.webkit.org/305877.412@webkitglib/2.52



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

Reply via email to