Bug 311814

Summary: [WPE][Qt6] WPEQtView does not notify when an item gains or loses focus
Product: WebKit Reporter: aiswarya.kandoth
Component: WPE WebKitAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Linux   

aiswarya.kandoth
Reported 2026-04-09 06:41:08 PDT
WPEQtView does not override Qt's focusInEvent or focusOutEvent. As a result, when an element gains or loses focus the underlying WPEView is never notified with wpe_view_focus_in() or wpe_view_focus_out(). This breaks focus dependent behaviours. Steps to reproduce: 1. Create a project that uses WPE WebKit Qt6 API, the minibrowser for example. 2. Open a URL with input elements (for example: <input type="text">). 3. Click on the input element. 4. Observe that the JavaScript focus events do not fire.
Attachments
aiswarya.kandoth
Comment 1 2026-04-09 07:59:37 PDT
Note You need to log in before you can comment on or make changes to this bug.