<?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>36111</bug_id>
          
          <creation_ts>2010-03-15 02:28:08 -0700</creation_ts>
          <short_desc>[Qt] Improve the interactions when clicking on links on a touch screen</short_desc>
          <delta_ts>2010-08-18 08:28:50 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>44089</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P1</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>40197</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Benjamin Poulain">benjamin</reporter>
          <assigned_to name="QtWebKit Unassigned">webkit-qt-unassigned</assigned_to>
          <cc>benjamin</cc>
    
    <cc>cshu</cc>
    
    <cc>jesus</cc>
    
    <cc>kenneth</cc>
    
    <cc>nokiabugz</cc>
    
    <cc>tonikitoo</cc>
    
    <cc>vikram.malaiya</cc>
    
    <cc>yael</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>199592</commentid>
    <comment_count>0</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-03-15 02:28:08 -0700</bug_when>
    <thetext>Interaction with a touch screen is far less precise that with a mouse. When one clicks on a link with a finger, the single point of interaction is often not on the link.
QTouchPoint gives a rect representing the area of the finger on the screen. This rect must be used to find something the user can interact with.

To implement this task, QtWebkit needs to sample points in the rect, and find an element that will accepts a click.

The rect is not always available, here are the cases to handle:
-QTouchPoint has a rect
-QTouchEvent is sent, but without a rect -&gt; guess a rect
-No QTouchEvent is sent, QMouseEvent is sent instead on a platform without mouse (Maemo, some Symbian, Windows Mobile) -&gt; guess a rect if the platform is mobile</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>199820</commentid>
    <comment_count>1</comment_count>
    <who name="Kenneth Rohde Christiansen">kenneth</who>
    <bug_when>2010-03-15 14:10:29 -0700</bug_when>
    <thetext>Antonio, your experience with the spatial navigation might come to use here. Maybe something smarter than sampling points.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>200068</commentid>
    <comment_count>2</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-03-16 01:53:16 -0700</bug_when>
    <thetext>*** Bug 33169 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>200126</commentid>
    <comment_count>3</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-03-16 04:48:20 -0700</bug_when>
    <thetext>*** Bug 30712 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204991</commentid>
    <comment_count>4</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-03-27 08:52:10 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Antonio, your experience with the spatial navigation might come to use here.
&gt; Maybe something smarter than sampling points.

Right. I can certainly work on this after bug 29431, which targets on Monday on my schedule.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>205024</commentid>
    <comment_count>5</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-03-27 12:23:47 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; Right. I can certainly work on this after bug 29431, which targets on Monday on
&gt; my schedule.

If you think this will take more than a couple of days (and test with resistive and capacitive screens), please prioritize bug fixing instead.

If you think it can be easily done for WebKit 2.0, that would be great :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220097</commentid>
    <comment_count>6</comment_count>
    <who name="">nokiabugz</who>
    <bug_when>2010-05-03 07:37:21 -0700</bug_when>
    <thetext>Please note that this is also a problem with HTML elements other than links.  It takes several touch events to activate elements such as multiselect lists and buttons, as well as links.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>266113</commentid>
    <comment_count>7</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-08-18 08:28:50 -0700</bug_when>
    <thetext>Dup&apos;ing it. This one will likely be fixed when bug 44089 is fixed.

*** This bug has been marked as a duplicate of bug 44089 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>