<?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>40477</bug_id>
          
          <creation_ts>2010-06-11 09:16:20 -0700</creation_ts>
          <short_desc>[Qt] Unable to check and uncheck check boxes and radio buttons using QtWebkit 2.0</short_desc>
          <delta_ts>2019-05-02 16:18:08 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>S60 Hardware</rep_platform>
          <op_sys>S60 3rd edition</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>40197</dependson>
    
    <dependson>46039</dependson>
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Alexandra Santos">alexandra.1.santos</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andre.pedralho</cc>
    
    <cc>arkr17997</cc>
    
    <cc>benjamin</cc>
    
    <cc>diegohcg</cc>
    
    <cc>ext-don-schafer.schafer</cc>
    
    <cc>hausmann</cc>
    
    <cc>jay.tucker</cc>
    
    <cc>jesus</cc>
    
    <cc>kenneth</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>suresh.voruganti</cc>
    
    <cc>tonikitoo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>236862</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandra Santos">alexandra.1.santos</who>
    <bug_when>2010-06-11 09:16:20 -0700</bug_when>
    <thetext>User is unable to interact with radio buttons and check boxes when using QtWebkit 2.0 and QtTestbrowser on N8. 

Steps to reproduce:

1.- Install qt.sis, QtWebkit 2.0 and QtTestBrowser on a N8.
2.- Launch QtTestBrowser and access the following url: http://iop1.nokia-boston.com/rendertree/rendertreetest.html or http://waplabdc.nokia-boston.com/browser/users/BedrockBrowser/InputFields_VKB/inputtest.html
3.- Try to interact with radio buttons and check boxes present in this pages.

Actual results:

User is unable to mark, unmark these elements: radio buttons check boxes.

expected results:

User should be able to mark unmark check boxes and radio buttons.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>237813</commentid>
    <comment_count>1</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-06-14 07:28:46 -0700</bug_when>
    <thetext>Is it because of the click area or is it really that the checkbox cannot be clicked?

Can you interact with them with a capacitive stylus?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>237817</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandra Santos">alexandra.1.santos</who>
    <bug_when>2010-06-14 07:58:58 -0700</bug_when>
    <thetext>Hi, Benjamin:
yes, I can interact with them using a capacitive stylus if the device in use  is N97. On N8 this is not possible though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>239416</commentid>
    <comment_count>3</comment_count>
    <who name="Jay Tucker">jay.tucker</who>
    <bug_when>2010-06-17 09:24:18 -0700</bug_when>
    <thetext>I don&apos;t think this is a QtWebKit issue or even a Qt issue, for that matter. The problem seems to be at the level of basic interaction with the touchscreen. Radio buttons and checkboxes on a device&apos;s touchscreen present very small targets to click -- just a few pixels in width and height. It&apos;s very difficult to hit them accurately using your finger. On an N97, it&apos;s possible to click them using a stylus, but that&apos;s not an option on an N8 due to the capacitive touchscreen unless you use a capacitive stylus, which we shouldn&apos;t expect an end-user to have.

I wrote a tiny test webpage which contains both real radio button elements in a form element as well as fake radio buttons which are just div elements which can be clicked on and which respond like radio buttons thanks to a few lines of JavaScript I wrote. It&apos;s trivial to vary the size of these fake radio buttons using CSS, so I ran some experiments to see how small I could make them before I had trouble clicking on them on a device.

It&apos;s no problem at all to use your finger on 40x40 pixel buttons. When the size drops to 20x20, it becomes difficult to use your finger, but it&apos;s still easy with a stylus. At 15x15, it&apos;s very difficult to use your finger, but still OK with a stylus. At 10x10, it&apos;s practically impossible to use your finger and difficult even with a stylus. And a real radio button or checkbox is even smaller than 10x10.

My suggestion is that if we want to resolve this issue, we&apos;re going to have to come up with an intelligent algorithm inside the gesture library so that we can handle finger input better, especially for small targets.

Another option is for the user to simply zoom in sufficiently on any radio button or checkbox in order to use it more easily.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>239422</commentid>
    <comment_count>4</comment_count>
    <who name="Kenneth Rohde Christiansen">kenneth</who>
    <bug_when>2010-06-17 09:29:18 -0700</bug_when>
    <thetext>And that is being worked on. cc&apos;ing Antonio, oh, he is already cc&apos;ed :-)

Antonio, can you give a short description of the work going on? or give a link to a wiki page *hint* *hint*

(In reply to comment #3)
&gt; I don&apos;t think this is a QtWebKit issue or even a Qt issue, for that matter. The problem seems to be at the level of basic interaction with the touchscreen. Radio buttons and checkboxes on a device&apos;s touchscreen present very small targets to click -- just a few pixels in width and height. It&apos;s very difficult to hit them accurately using your finger. On an N97, it&apos;s possible to click them using a stylus, but that&apos;s not an option on an N8 due to the capacitive touchscreen unless you use a capacitive stylus, which we shouldn&apos;t expect an end-user to have.
&gt; 
&gt; I wrote a tiny test webpage which contains both real radio button elements in a form element as well as fake radio buttons which are just div elements which can be clicked on and which respond like radio buttons thanks to a few lines of JavaScript I wrote. It&apos;s trivial to vary the size of these fake radio buttons using CSS, so I ran some experiments to see how small I could make them before I had trouble clicking on them on a device.
&gt; 
&gt; It&apos;s no problem at all to use your finger on 40x40 pixel buttons. When the size drops to 20x20, it becomes difficult to use your finger, but it&apos;s still easy with a stylus. At 15x15, it&apos;s very difficult to use your finger, but still OK with a stylus. At 10x10, it&apos;s practically impossible to use your finger and difficult even with a stylus. And a real radio button or checkbox is even smaller than 10x10.
&gt; 
&gt; My suggestion is that if we want to resolve this issue, we&apos;re going to have to come up with an intelligent algorithm inside the gesture library so that we can handle finger input better, especially for small targets.
&gt; 
&gt; Another option is for the user to simply zoom in sufficiently on any radio button or checkbox in order to use it more easily.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240146</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-06-18 14:35:07 -0700</bug_when>
    <thetext>Jay&apos;s analysis makes sense to me.

I think what Alexandra is really missing is what you&apos;d use on any other browser: You&apos;d zoom in with a pinch or a double-tap, to resize the button and make it tap-able.

I wish QtTestBrowser would support double-tapping to zoom in by a factor of two and another double-tap would zoom it out, on platforms with touch input.

As such my feeling is that this isn&apos;t strictly speaking a show stopper, but it makes the QA life a lot harder than it has to be, by it being a useability problem of QtTestBrowser.

Any takers for the QtTestBrowser fix? :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240669</commentid>
    <comment_count>6</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-06-21 05:57:32 -0700</bug_when>
    <thetext>&gt; I think what Alexandra is really missing is what you&apos;d use on any other browser: You&apos;d zoom in with a pinch or a double-tap, to resize the button and make it tap-able.

that&apos;d work arount the problem, yeah. I am working on a real fix on bug 40197 tough, with Grace, from Google.

&gt; I wish QtTestBrowser would support double-tapping to zoom in by a factor of two and another double-tap would zoom it out, on platforms with touch input.
&gt; As such my feeling is that this isn&apos;t strictly speaking a show stopper, but it makes the QA life a lot harder than it has to be, by it being a useability problem of QtTestBrowser.
&gt; 
&gt; Any takers for the QtTestBrowser fix? :)

cc&apos;ed some candidates :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245209</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-07-01 02:04:33 -0700</bug_when>
    <thetext>I&apos;m removing this from the release blocker list, as it&apos;s a useability issue of QtTestBrowser. I&apos;m blocking 39313 instead, so that we can backport the changes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>270459</commentid>
    <comment_count>8</comment_count>
    <who name="Suresh Voruganti">suresh.voruganti</who>
    <bug_when>2010-08-27 06:33:28 -0700</bug_when>
    <thetext>It seems that issue is not reproducible with the latest QtWebkit 2.1 build. 

Has the fix backported? Can we close the issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>270481</commentid>
    <comment_count>9</comment_count>
    <who name="Suresh Voruganti">suresh.voruganti</who>
    <bug_when>2010-08-27 07:17:09 -0700</bug_when>
    <thetext>Issue is reprorducible only in QtTestBrowser.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>270487</commentid>
    <comment_count>10</comment_count>
    <who name="Jay Tucker">jay.tucker</who>
    <bug_when>2010-08-27 07:23:26 -0700</bug_when>
    <thetext>Then I agree with Simon that this is not a valid QtWebKit issue, but rather a usability issue of QtTestBrowser. Can we close the issue here but make a note of it somewhere else?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>307940</commentid>
    <comment_count>11</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-11-11 08:24:53 -0800</bug_when>
    <thetext>Closing the bug, it is going nowhere.
This issue of QtTestBrowser will be fixed via the touch interaction improvements.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>