<?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>99591</bug_id>
          
          <creation_ts>2012-10-17 06:33:11 -0700</creation_ts>
          <short_desc>HitTestResult::scrollbar() is NULL when hit test point is over the main scrollbars</short_desc>
          <delta_ts>2013-04-25 06:15:01 -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>UI Events</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>114430</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>114430</dependson>
          <blocked>104369</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>allan.jensen</cc>
    
    <cc>bdakin</cc>
    
    <cc>darin</cc>
    
    <cc>eflews.bot</cc>
    
    <cc>elima</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>philn</cc>
    
    <cc>xan.lopez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>744205</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2012-10-17 06:33:11 -0700</bug_when>
    <thetext>It works for control element scrollbars, but not for the main ones. Events are correctly propagated to the scrollbars but the HitTestResult is not updated accordingly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>744208</commentid>
    <comment_count>1</comment_count>
      <attachid>169171</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2012-10-17 06:38:14 -0700</bug_when>
    <thetext>Created attachment 169171
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>790582</commentid>
    <comment_count>2</comment_count>
    <who name="Eduardo Lima Mitev">elima</who>
    <bug_when>2012-12-13 07:10:34 -0800</bug_when>
    <thetext>adding myself to CC.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>807771</commentid>
    <comment_count>3</comment_count>
      <attachid>169171</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2013-01-15 15:49:11 -0800</bug_when>
    <thetext>Comment on attachment 169171
Patch

What’s the visible symptom of this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>807795</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2013-01-15 16:06:08 -0800</bug_when>
    <thetext>The problem is that if you make a hit test for any point over a main scrollbar HitTestResutl::scrollbar() is NULL, so it&apos;s not possible to know whether you are clicking in a scrollbar or not, for example. We need that in Epiphany to ignore any action associated to mouse buttons when mouse is over a scrollbar and propagate the event to webkit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>875318</commentid>
    <comment_count>5</comment_count>
    <who name="Allan Sandfeld Jensen">allan.jensen</who>
    <bug_when>2013-04-14 05:24:11 -0700</bug_when>
    <thetext>This is probably fixed by the patch for bug 114430</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>880199</commentid>
    <comment_count>6</comment_count>
      <attachid>169171</attachid>
    <who name="EFL EWS Bot">eflews.bot</who>
    <bug_when>2013-04-23 17:40:45 -0700</bug_when>
    <thetext>Comment on attachment 169171
Patch

Attachment 169171 did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/65358</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>881218</commentid>
    <comment_count>7</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2013-04-25 06:14:12 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; This is probably fixed by the patch for bug 114430

Yes, this work now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>881219</commentid>
    <comment_count>8</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2013-04-25 06:15:01 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 114430 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>169171</attachid>
            <date>2012-10-17 06:38:14 -0700</date>
            <delta_ts>2013-04-25 06:14:30 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>wcore-hit-test-result-scrollbar.diff</filename>
            <type>text/plain</type>
            <size>1534</size>
            <attacher name="Carlos Garcia Campos">cgarcia</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJDb3JlL0No
YW5nZUxvZwppbmRleCAxNGU0MDM3Li5hOTY2NjJiIDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViQ29y
ZS9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTkg
QEAKKzIwMTItMTAtMTcgIENhcmxvcyBHYXJjaWEgQ2FtcG9zICA8Y2dhcmNpYUBpZ2FsaWEuY29t
PgorCisgICAgICAgIEhpdFRlc3RSZXN1bHQ6OnNjcm9sbGJhcigpIGlzIE5VTEwgd2hlbiBoaXQg
dGVzdCBwb2ludCBpcyBvdmVyIHRoZSBtYWluIHNjcm9sbGJhcnMKKyAgICAgICAgaHR0cHM6Ly9i
dWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTk5NTkxCisKKyAgICAgICAgUmV2aWV3ZWQg
YnkgTk9CT0RZIChPT1BTISku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