WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
311814
[WPE][Qt6] WPEQtView does not notify when an item gains or loses focus
https://bugs.webkit.org/show_bug.cgi?id=311814
Summary
[WPE][Qt6] WPEQtView does not notify when an item gains or loses focus
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
Add attachment
proposed patch, testcase, etc.
aiswarya.kandoth
Comment 1
2026-04-09 07:59:37 PDT
Proposed fix:
https://github.com/WebKit/WebKit/pull/62355
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug