Bug 207701 - [GTK][PointerEvents] Flutter Keyboard and Mouse not working
Summary: [GTK][PointerEvents] Flutter Keyboard and Mouse not working
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-13 09:20 PST by John
Modified: 2020-02-17 10:41 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John 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
Comment 1 Carlos Alberto Lopez Perez 2020-02-13 10:41:47 PST
This works for me with MiniBrowser and trunk r256320
2.27.90 was branched at 255667
Comment 2 Michael Catanzaro 2020-02-13 11:23:12 PST
Doesn't work in Epiphany using 2.27.90 or r256515....
Comment 3 Carlos Alberto Lopez Perez 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?
Comment 4 Michael Catanzaro 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.
Comment 5 Carlos Garcia Campos 2020-02-14 00:40:31 PST
It works here with 2.27.90
Comment 6 Michael Catanzaro 2020-02-14 16:55:47 PST
It's broken in MiniBrowser here too with 2.26.3, so not an Ephy problem.
Comment 7 Carlos Alberto Lopez Perez 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)