<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>207701</bug_id>
          
          <creation_ts>2020-02-13 09:20:45 -0800</creation_ts>
          <short_desc>[GTK][PointerEvents] Flutter Keyboard and Mouse not working</short_desc>
          <delta_ts>2020-02-17 10:41:49 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=202789</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="John">mrmcq2u</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>clopez</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1618525</commentid>
    <comment_count>0</comment_count>
    <who name="John">mrmcq2u</who>
    <bug_when>2020-02-13 09:20:45 -0800</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1618582</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2020-02-13 10:41:47 -0800</bug_when>
    <thetext>This works for me with MiniBrowser and trunk r256320
2.27.90 was branched at 255667</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1618607</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-02-13 11:23:12 -0800</bug_when>
    <thetext>Doesn&apos;t work in Epiphany using 2.27.90 or r256515....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1618695</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2020-02-13 13:59:16 -0800</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #2)
&gt; Doesn&apos;t work in Epiphany using 2.27.90 or r256515....

And does it work in MiniBrowser?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1618715</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-02-13 14:48:10 -0800</bug_when>
    <thetext>I don&apos;t know, we default to ENABLE_MINIBROWSER=OFF and I didn&apos;t change it for my build, sorry.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1618895</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2020-02-14 00:40:31 -0800</bug_when>
    <thetext>It works here with 2.27.90</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1619293</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-02-14 16:55:47 -0800</bug_when>
    <thetext>It&apos;s broken in MiniBrowser here too with 2.26.3, so not an Ephy problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1619725</commentid>
    <comment_count>7</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2020-02-17 10:41:49 -0800</bug_when>
    <thetext>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&apos;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&apos;t have currently a touch screen to test)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>