Bug 311918

Summary: [WPE][Qt6] WPEQtView never triggers focus event chain on touch devices
Product: WebKit Reporter: aiswarya.kandoth
Component: WPE WebKitAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Enhancement CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Linux   

aiswarya.kandoth
Reported 2026-04-10 02:20:04 PDT
The WPEQtView::touchEvent() never calls forceActiveFocus(). Hence, tapping the web content does not activate the view in Qt's focus system, so the focus event chain is never triggered. Note that touch and mouse press are equivalent interactions in a focus perspective. However, only the WPEQtView::mousePresseEvent() requests Qt focus by calling forceActiveFocus().
Attachments
aiswarya.kandoth
Comment 1 2026-04-10 02:36:01 PDT
Note You need to log in before you can comment on or make changes to this bug.