Bug 207701

Summary: [GTK][PointerEvents] Flutter Keyboard and Mouse not working
Product: WebKit Reporter: John <mrmcq2u>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bugs-noreply, cgarcia, clopez, mcatanzaro
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=202789

John
Reported 2020-02-13 09:20:45 PST
Cannot interact with any web app created with flutter using keyboard or mouse. Example - https://flutter.github.io/samples/#/ Tried on both WebkitGTK 2.27.90 and 2.27.4
Attachments
Carlos Alberto Lopez Perez
Comment 1 2020-02-13 10:41:47 PST
This works for me with MiniBrowser and trunk r256320 2.27.90 was branched at 255667
Michael Catanzaro
Comment 2 2020-02-13 11:23:12 PST
Doesn't work in Epiphany using 2.27.90 or r256515....
Carlos Alberto Lopez Perez
Comment 3 2020-02-13 13:59:16 PST
(In reply to Michael Catanzaro from comment #2) > Doesn't work in Epiphany using 2.27.90 or r256515.... And does it work in MiniBrowser?
Michael Catanzaro
Comment 4 2020-02-13 14:48:10 PST
I don't know, we default to ENABLE_MINIBROWSER=OFF and I didn't change it for my build, sorry.
Carlos Garcia Campos
Comment 5 2020-02-14 00:40:31 PST
It works here with 2.27.90
Michael Catanzaro
Comment 6 2020-02-14 16:55:47 PST
It's broken in MiniBrowser here too with 2.26.3, so not an Ephy problem.
Carlos Alberto Lopez Perez
Comment 7 2020-02-17 10:41:49 PST
This is related to PointerEvents. If you build WebKitGTK+ with -DENABLE_POINTER_EVENTS=ON the page works, but if you build with -DENABLE_POINTER_EVENTS=OFF it doesn't work. We currently default to enable pointer events for development builds, but we default to disable it on release builds. Its still considered an experimental feature for the GTK port. See https://bugs.webkit.org/show_bug.cgi?id=202789#c1 I wonder: - Does Flutter require Pointer Events to work? - Or is that its failing to properly fallback to MouseEvent+TouchEvent? - Does touch work on flutter with -DENABLE_POINTER_EVENTS=OFF? And with -DENABLE_POINTER_EVENTS=ON? (I don't have currently a touch screen to test)
Note You need to log in before you can comment on or make changes to this bug.