<?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>19925</bug_id>
          
          <creation_ts>2008-07-07 07:35:23 -0700</creation_ts>
          <short_desc>Stuck cursor until mouse moves; result is poor percieved performance</short_desc>
          <delta_ts>2009-01-13 09:53:20 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>14344</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matt Cooper">matt11ag-webkitbugs</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>85336</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Cooper">matt11ag-webkitbugs</who>
    <bug_when>2008-07-07 07:35:23 -0700</bug_when>
    <thetext>Summary:
The mouse cursor style is stuck showing the old style until the user moves the mouse.

Steps to Reproduce:
1. Make a page like the attached one where the cursor changes on the body style (I will attach one to this bug).
2. In response to a user action set the cursor to a wait cursor.
3. After a setTimeout call (e.g. to simulate an XmlHttpRequest callback) set the cursor to something else other than a wait cursor.
4. Notice that the mouse cursor is still stuck using &quot;wait&quot; unless you move the mouse.

Expected Results:
The cursor should have changed when the cursor was set to something other than the &quot;wait&quot; cursor.

Actual Results:
The cursor stayed using the &quot;wait&quot; cursor.

Notes:
A user can see the updated cursor but they must think to move their mouse cursor for this to happen. The usability problem with this is that users will not know to move the mouse (or when to move the mouse) once the callback has occurred and would then be tricked into waiting longer than necessary and thus thinking the browser is incredibly slow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85337</commentid>
    <comment_count>1</comment_count>
      <attachid>22132</attachid>
    <who name="Matt Cooper">matt11ag-webkitbugs</who>
    <bug_when>2008-07-07 07:36:00 -0700</bug_when>
    <thetext>Created attachment 22132
Test case mentioned in original bug description.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95246</commentid>
    <comment_count>2</comment_count>
      <attachid>24337</attachid>
    <who name="Eric Roman">eroman</who>
    <bug_when>2008-10-13 20:18:08 -0700</bug_when>
    <thetext>Created attachment 24337
Cursor not redrawn until moved.

I can repro this in r347458 winxp.
Attached is another test case (courtesy of dave).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105510</commentid>
    <comment_count>3</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-01-13 09:53:20 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 14344 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>22132</attachid>
            <date>2008-07-07 07:36:00 -0700</date>
            <delta_ts>2008-07-07 07:36:00 -0700</delta_ts>
            <desc>Test case mentioned in original bug description.</desc>
            <filename>stuck-cursor-test.html</filename>
            <type>text/html</type>
            <size>2067</size>
            <attacher name="Matt Cooper">matt11ag-webkitbugs</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEgVHJhbnNpdGlvbmFs
Ly9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL2h0bWw0L2xvb3NlLmR0ZCI+CjxodG1sPgo8aGVh
ZD4KPHRpdGxlPlN0dWNrIGN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aXRpbmcgbG9uZ2VyIHRoYW4gbmVjZXNzYXJ5IGFuZCB0aHVzIHRoaW5raW5n
IHRoZSBicm93c2VyIGlzIGluY3JlZGlibHkgc2xvdy48L2xpPgogICAgICA8bGk+VG8gc3RhcnQg
dGhlIHRlc3Qgb3ZlciBhZ2FpbiwgY2xpY2sgdGhlICJTaG93IHRoZSBESVYgQWdhaW4iIGJ1dHRv
bi48L2xpPgogICAgPC9vbD4KICAgIDxicj4KICAgIDxidXR0b24gb25jbGljaz0iaGlkZURpdihl
dmVudCk7Ij5IaWRlIHRoZSBESVY8L2J1dHRvbj4KICA8L2Rpdj4KICA8YnV0dG9uIG9uY2xpY2s9
InNob3dEaXYoZXZlbnQpOyI+U2hvdyB0aGUgRElWIEFnYWluPC9idXR0b24+CiAgPC9mb3JtPgo8
L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>24337</attachid>
            <date>2008-10-13 20:18:08 -0700</date>
            <delta_ts>2008-10-13 20:18:08 -0700</delta_ts>
            <desc>Cursor not redrawn until moved.</desc>
            <filename>cursor-not-redrawn-until-move.html</filename>
            <type>text/html</type>
            <size>512</size>
            <attacher name="Eric Roman">eroman</attacher>
            
              <data encoding="base64">PHNjcmlwdD4KICBmdW5jdGlvbiBTaG93Q3Vyc29yKCkKICB7CiAgICBkb2N1bWVudC5nZXRFbGVt
ZW50QnlJZCgiVGVzdERpdiIpLnN0eWxlLmN1cnNvciA9ICJ3YWl0IjsKICAgIHNldFRpbWVvdXQo
IkhpZGVDdXJzb3IoKSIsIDEwMDApOwogIH0KICBmdW5jdGlvbiBIaWRlQ3Vyc29yKCkKICB7CiAg
ICBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgiVGVzdERpdiIpLnN0eWxlLmN1cnNvciA9ICJkZWZh
dWx0IjsKICAgIGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCJUZXN0RGl2IikuaW5uZXJIVE1MID0g
IkN1cnNvciBzaG91bGQgaGF2ZSBjaGFuZ2VkIGJhY2sgbm93LCBidXQgaXQgaGFzbid0LiBNb3Zl
IHRoZSBtb3VzZSBhbmQgaXQnbGwgY2hhbmdlIGJhY2suIjsKICB9Cjwvc2NyaXB0Pgo8ZGl2IHN0
eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOlJlZDsgd2lkdGg6MjAwcHg7IGhlaWdodDoyMDBweDsiCiAg
aWQ9IlRlc3REaXYiIG9uY2xpY2s9IlNob3dDdXJzb3IoKSI+CiAgQ2xpY2sgbWUhCjwvZGl2Pgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>