<?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>133024</bug_id>
          
          <creation_ts>2014-05-16 21:17:49 -0700</creation_ts>
          <short_desc>[Phone Number Detection] drop-down menu in the phone number detection box doesn&apos;t appear</short_desc>
          <delta_ts>2014-05-17 14:50:29 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brent Fulgham">bfulgham</reporter>
          <assigned_to name="Brent Fulgham">bfulgham</assigned_to>
          <cc>beidson</cc>
    
    <cc>bfulgham</cc>
    
    <cc>commit-queue</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1009930</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2014-05-16 21:17:49 -0700</bug_when>
    <thetext>The data detector menu was not working because the &apos;drawRects&apos; function was clearing the set of selected phone numbers on each draw operation. This is wrong, because the drawRect function is called for each drawing tile. Since the screen often has ~9 tiles, and the last tile is likely to not have a phone number causing the set of selected phone numbers to get cleared.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1009931</commentid>
    <comment_count>1</comment_count>
      <attachid>231620</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2014-05-16 21:20:11 -0700</bug_when>
    <thetext>Created attachment 231620
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1009932</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2014-05-16 21:22:00 -0700</bug_when>
    <thetext>&lt;rdar://problem/16917021&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1009933</commentid>
    <comment_count>3</comment_count>
      <attachid>231620</attachid>
    <who name="Sam Weinig">sam</who>
    <bug_when>2014-05-16 21:45:19 -0700</bug_when>
    <thetext>Comment on attachment 231620
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=231620&amp;action=review

&gt; Source/WebKit2/ChangeLog:10
&gt; +        time we call drawRect. This gets called ~9 times per screen refresh, so end up with no active

~9 times? That seems like a lot. Do we have a bug tracking why we are calling drawRect here so much?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1009952</commentid>
    <comment_count>4</comment_count>
      <attachid>231620</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2014-05-17 00:20:27 -0700</bug_when>
    <thetext>Comment on attachment 231620
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=231620&amp;action=review

&gt;&gt; Source/WebKit2/ChangeLog:10
&gt;&gt; +        time we call drawRect. This gets called ~9 times per screen refresh, so end up with no active
&gt; 
&gt; ~9 times? That seems like a lot. Do we have a bug tracking why we are calling drawRect here so much?

Once per tile. It varies by how much of the screen is dirty, and how large the screen is. I think this is working as designed..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1009996</commentid>
    <comment_count>5</comment_count>
      <attachid>231620</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-05-17 14:50:26 -0700</bug_when>
    <thetext>Comment on attachment 231620
Patch

Clearing flags on attachment: 231620

Committed r168998: &lt;http://trac.webkit.org/changeset/168998&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1009997</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-05-17 14:50:29 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>231620</attachid>
            <date>2014-05-16 21:20:11 -0700</date>
            <delta_ts>2014-05-17 14:50:26 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-133024-20140516211948.patch</filename>
            <type>text/plain</type>
            <size>1742</size>
            <attacher name="Brent Fulgham">bfulgham</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
S2l0Mi9DaGFuZ2VMb2cJKHJldmlzaW9uIDE2ODk5MCkKKysrIFNvdXJjZS9XZWJLaXQyL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE1IEBACisyMDE0LTA1LTE2ICBCcmVudCBG
dWxnaGFtICA8YmZ1bGdoYW1AYXBwbGUuY29tPgorCisgICAgICAgIFtQaG9uZSBOdW1iZXIgRGV0
ZWN0aW9uXSBkcm9wLWRvd24gbWVudSBpbiB0aGUgcGhvbmUgbnVtYmVyIGRldGVjdGlvbiBib3gg
ZG9lc24ndCBhcHBlYXIuCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVn
LmNnaT9pZD0xMzMwMjQKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKwor
ICAgICAgICAqIFdlYlByb2Nlc3MvV2ViUGFnZS9tYWMvVGVsZXBob25lTnVtYmVyT3ZlcmxheUNv
bnRyb2xsZXJNYWMubW06Cis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lT3ZlcmxheSogb3ZlcmxheSwgV2ViQ29yZTo6R3Jh
cGhpY3NDb250ZXh0JiBncmFwaGljc0NvbnRleHQsIGNvbnN0IFdlYkNvcmU6OkludFJlY3QmIGRp
cnR5UmVjdCkKIHsKLSAgICBpZiAobV9jdXJyZW50U2VsZWN0aW9uUmFuZ2VzLmlzRW1wdHkoKSkK
KyAgICBpZiAobV9jdXJyZW50U2VsZWN0aW9uUmFuZ2VzLmlzRW1wdHkoKSkgeworICAgICAgICBj
bGVhckhpZ2hsaWdodHMoKTsKICAgICAgICAgcmV0dXJuOwotICAgIAotICAgIGNsZWFySGlnaGxp
Z2h0cygpOwotICAgIAorICAgIH0KKwogICAgIENHQ29udGV4dFJlZiBjZ0NvbnRleHQgPSBncmFw
aGljc0NvbnRleHQucGxhdGZvcm1Db250ZXh0KCk7CiAgICAgCiAgICAgZm9yIChhdXRvJiByYW5n
ZSA6IG1fY3VycmVudFNlbGVjdGlvblJhbmdlcykgewo=
</data>

          </attachment>
      

    </bug>

</bugzilla>