<?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>18712</bug_id>
          
          <creation_ts>2008-04-24 03:26:45 -0700</creation_ts>
          <short_desc>cursor is not updated after loading is finished</short_desc>
          <delta_ts>2008-04-29 06:19:07 -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 Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>data:text/html,&lt;p style=&quot;margin-top: 100px&quot;&gt;&lt;a href=&quot;data:text/html,&lt;textarea rows=50 cols=50&gt;&quot;&gt;Go here, do not move,  and then click&lt;/a&gt;&lt;/p&gt;</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="Ariya Hidayat">ariya.hidayat</reporter>
          <assigned_to name="Ariya Hidayat">ariya.hidayat</assigned_to>
          <cc>hausmann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78765</commentid>
    <comment_count>0</comment_count>
    <who name="Ariya Hidayat">ariya.hidayat</who>
    <bug_when>2008-04-24 03:26:45 -0700</bug_when>
    <thetext>Run the Qt Launcher and load the following URI:

data:text/html,&lt;p style=&quot;margin-top: 100px&quot;&gt;&lt;a href=&quot;data:text/html,&lt;textarea rows=50 cols=50&gt;&quot;&gt;Go here, do not move,  and then click&lt;/a&gt;&lt;/p&gt;

Upon clicking the link, the cursor is not updated to become an I-Beam cursor (as it hovers a textarea).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78767</commentid>
    <comment_count>1</comment_count>
    <who name="Ariya Hidayat">ariya.hidayat</who>
    <bug_when>2008-04-24 03:50:35 -0700</bug_when>
    <thetext>In Safari, the cursor is updated properly. We found out that likely Safari sends a (fake) mouse-move event to the webview so that the cursor gets the update.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78768</commentid>
    <comment_count>2</comment_count>
      <attachid>20790</attachid>
    <who name="Ariya Hidayat">ariya.hidayat</who>
    <bug_when>2008-04-24 04:04:24 -0700</bug_when>
    <thetext>Created attachment 20790
Forces cursor update when loading is finished

This workaround is only for the Qt port. But I wonder if we should really fix it inside WebCore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78771</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-04-24 06:18:51 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; In Safari, the cursor is updated properly. We found out that likely Safari
&gt; sends a (fake) mouse-move event to the webview so that the cursor gets the
&gt; update.

I don&apos;t know what exactly causes this to work in Safari, but I don&apos;t think we&apos;re sending a mouse event when the load finishes.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79216</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2008-04-29 06:19:07 -0700</bug_when>
    <thetext>Fix landed in r32682</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>20790</attachid>
            <date>2008-04-24 04:04:24 -0700</date>
            <delta_ts>2008-04-24 04:04:24 -0700</delta_ts>
            <desc>Forces cursor update when loading is finished</desc>
            <filename>webkit-cursor-reset.patch</filename>
            <type>text/plain</type>
            <size>1228</size>
            <attacher name="Ariya Hidayat">ariya.hidayat</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dl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