Bug 311918
| Summary: | [WPE][Qt6] WPEQtView never triggers focus event chain on touch devices | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | aiswarya.kandoth |
| Component: | WPE WebKit | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Enhancement | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
aiswarya.kandoth
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
aiswarya.kandoth
Proposed fix: https://github.com/WebKit/WebKit/pull/62432