Bug 207701
Summary: | [GTK][PointerEvents] Flutter Keyboard and Mouse not working | ||
---|---|---|---|
Product: | WebKit | Reporter: | John <mrmcq2u> |
Component: | WebKitGTK | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Carlos Alberto Lopez Perez
This works for me with MiniBrowser and trunk r256320
2.27.90 was branched at 255667
Michael Catanzaro
Doesn't work in Epiphany using 2.27.90 or r256515....
Carlos Alberto Lopez Perez
(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
I don't know, we default to ENABLE_MINIBROWSER=OFF and I didn't change it for my build, sorry.
Carlos Garcia Campos
It works here with 2.27.90
Michael Catanzaro
It's broken in MiniBrowser here too with 2.26.3, so not an Ephy problem.
Carlos Alberto Lopez Perez
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)