Bug 224736

Summary: [GTK] GTK3 is not emitting keypress events
Product: WebKit Reporter: Lauro Moura <lmoura>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bugs-noreply, cgarcia
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Test case none

Lauro Moura
Reported 2021-04-18 18:05:41 PDT
WebDriver test: imported/selenium/py/test/selenium/webdriver/common/typing_tests.py::testShouldFireKeyPressEvents While keypress layout test works (IIRC, the events go through event sender), some WebDriver tests fail with keypress failing to be emitted. This does not seems to be webdriver specific, as the attached test fails to send them in GTK3 MiniBrowser (works in WPE/GTK4 MiniBrowser). The only key answering to keypress was `enter`. With Epiphany 3.38.1 / WebKitGTK 2.30.6 works fine.
Attachments
Test case (1.80 KB, text/html)
2021-04-18 18:07 PDT, Lauro Moura
no flags
Lauro Moura
Comment 1 2021-04-18 18:07:55 PDT
Created attachment 426391 [details] Test case Test case based on special-key-events-in-input-text.html
Carlos Garcia Campos
Comment 2 2021-04-27 07:03:09 PDT
I can't reproduce in MiniBrowser. But WebDriver events are synthesized, so it should be the same in gtk3 and gtk4.
Note You need to log in before you can comment on or make changes to this bug.