Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: 16525c0162d98317f67aec69760ceee6850606d8
https://github.com/WebKit/WebKit/commit/16525c0162d98317f67aec69760ceee6850606d8
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 310924@main (7265cc89ba41).
https://bugs.webkit.org/show_bug.cgi?id=311803
[WPE][Qt6] WPEQtView never triggers focus event chain on touch devices.
https://bugs.webkit.org/show_bug.cgi?id=311918.
Reviewed by Adrian Perez de Castro.
mousePressEvent calls forceActiveFocus() to make the item the active Qt
focus item when a user clicks it. However, touchEvent had no equivalent
call, so tapping the web content on a touchscreen never transferred Qt
focus to the view. By adding the forceActiveFocus() call in touchEvent()
the touch interactions will trigger necessary focus event chains.
* Source/WebKit/UIProcess/API/wpe/qt6/WPEQtView.cpp:
(WPEQtView::touchEvent): Call forceActiveFocus().
Canonical link: https://commits.webkit.org/310924@main
Canonical link: https://commits.webkit.org/305877.414@webkitglib/2.52
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications