<?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>14344</bug_id>
          
          <creation_ts>2007-06-23 14:26:42 -0700</creation_ts>
          <short_desc>Changing cursor style has no effect until the mouse moves</short_desc>
          <delta_ts>2011-01-28 17:58:07 -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>523.x (Safari 3)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.gtalbot.org/DHTMLSection/Positioning.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>53280</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gérard Talbot (no longer involved)">browserbugs2</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bugs</cc>
    
    <cc>darin</cc>
    
    <cc>deanm</cc>
    
    <cc>estade</cc>
    
    <cc>evan</cc>
    
    <cc>jiyuluna</cc>
    
    <cc>matt11ag-webkitbugs</cc>
    
    <cc>mjs</cc>
    
    <cc>rniwa</cc>
    
    <cc>scherkus</cc>
    
    <cc>schmidt.christian</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6541</commentid>
    <comment_count>0</comment_count>
    <who name="Gérard Talbot (no longer involved)">browserbugs2</who>
    <bug_when>2007-06-23 14:26:42 -0700</bug_when>
    <thetext>Steps to reproduce:
1. Load provided URL
2. Mousedown over the &quot;Position&quot; pseudo-titlebar of the form and hold the mousedown without moving the mouse

Actual results: 
You see a custom hand-grab cursor which displays an open hand with 5 fingers

Expected results: 
The custom hand-grab cursor displaying an open hand with 5 fingers should become, should change into a custom hand-grabbing cursor which display a closed hand


Relevant code involved:
&lt;body onload=&quot;init();&quot;&gt;
(...)
&lt;div id=&quot;idTitlePosition&quot; title=&quot;You can drag and move this position control box form&quot;&gt;Position&lt;img (...)&gt;&lt;/div&gt;

function init()
{
if (document.addEventListener)
	{
	document.getElementById(&quot;idTitlePosition&quot;).addEventListener(&quot;mousedown&quot;, Activate, false);

(...)

In Position.css (around line 43):
#idTitlePosition
		{
		(...)
		cursor: url(&quot;../GRAPHICS/ICO/grab.cur&quot;), move;
		}

In Position.js (around line 230):
function Activate (evt)
{
	TextBoxToBeMoved = (evt) ? evt.currentTarget : window.event ? event.srcElement : null;
	TextBoxToBeMoved.style.cursor = &quot;url(&apos;../GRAPHICS/ICO/grabbing.cur&apos;), -moz-grabbing&quot;;

Notes: 
- the provided URL is not a reduced testcase.
- MSIE 6, MSIE 7, Firefox 2.0.0.4 get the expected results.
- Mozilla used to have a similar bug:
Mozilla-Bug 293510
dynamic changes of &apos;cursor&apos; property don&apos;t work until mouse moves
https://bugzilla.mozilla.org/show_bug.cgi?id=293510</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6487</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-06-24 02:17:37 -0700</bug_when>
    <thetext>Confirmed on Mac OS, so moving to All/All. The Mac version has an even worse behavior, since it cannot display most .cur cursors, but the described problem appears to occur, too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105511</commentid>
    <comment_count>2</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-01-13 09:53:20 -0800</bug_when>
    <thetext>*** Bug 19925 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105513</commentid>
    <comment_count>3</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-01-13 09:53:25 -0800</bug_when>
    <thetext>*** Bug 22296 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105515</commentid>
    <comment_count>4</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-01-13 09:53:32 -0800</bug_when>
    <thetext>*** Bug 23079 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105516</commentid>
    <comment_count>5</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-01-13 09:54:26 -0800</bug_when>
    <thetext>Duplicates have examples and, I think, some slightly better explanations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188340</commentid>
    <comment_count>6</comment_count>
    <who name="Evan Stade">estade</who>
    <bug_when>2010-02-05 15:30:38 -0800</bug_when>
    <thetext>this also occurs for non-custom cursors. For example, see http://code.google.com/p/chromium/issues/detail?id=34075 (changing zoom level doesn&apos;t change the zoom icon until after a mouse move event)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196140</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-03-04 11:02:27 -0800</bug_when>
    <thetext>&lt;rdar://problem/7563712&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>339745</commentid>
    <comment_count>8</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-01-25 10:47:51 -0800</bug_when>
    <thetext>If we address the basic problem here, we probably still won’t resolve the case where the mouse is down, which would be needed to make the closed-hand example work.

Generally speaking we make no cursor adjustments while the mouse is down. We don’t want to change the cursor based on what the mouse is over as you drag with the mouse down. It would be interesting to see how the other browsers behave. Do they adjust the cursor based on style changes in the element you were over when the mouse went down?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>339762</commentid>
    <comment_count>9</comment_count>
    <who name="Evan Martin">evan</who>
    <bug_when>2011-01-25 11:01:30 -0800</bug_when>
    <thetext>In Firefox 3.6 on Linux, dragging the map gives me the hand cursor.  As soon as I drag from there over another HTML element (including the floating map controls) the cursor changes to the cursor used by that control.  Dragging outside of the map also resets the cursor.  And in all cases, dragging back into the map after the cursor changing puts the cursor back into the dragging-hand cursor.

So from that I guess that maps changes the cursor of the map widget to the custom cursor on mouse down, and Firefox obeys the cursor of whatever the mouse is currently over, regardless of the mouse down state.

More common uses of dragging, like dragging a link, use browser-level support for drag icons etc so the mouse cursor is unaffected by the page.

http://panic.com/goods is another site that uses dnd heavily.  There, they have no custom mouse cursor but I do notice that when I drag an item over a link I have the normal arrow cursor throughout, not the hand cursor, because the simulated drag icon is beneath the cursor.  If I mouse-wheel *while* dragging, their simulated drag icon gets out of position and I can see my mouse cursor change to the hand when I hover a link.

(Weirdly, maps loses my mouse drag if I drag out the left or right side of the window, but not the bottom or top!  There could be other bugs here in both maps and Firefox&apos;s Linux support, so it is probably worth testing in a more popular browser.  panic.com didn&apos;t have this problem.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>340235</commentid>
    <comment_count>10</comment_count>
    <who name="Gérard Talbot (no longer involved)">browserbugs2</who>
    <bug_when>2011-01-26 06:16:22 -0800</bug_when>
    <thetext>&gt; Generally speaking we make no cursor adjustments while the mouse is down. We don’t want to change the cursor based on what the mouse is over as you drag with the mouse down. 

In my DHTML demo page, the cursor once Activated is over, remains over that &lt;div id=&quot;idTitlePosition&quot;&gt;... pseudo-title-bar as it dynamically moves to match cursor position.

&gt; It would be interesting to see how the other browsers behave. 

If I understand correctly your question here, then, yes, other browsers change the cursor based on what the mouse is over as you drag with the mouse down. 

{
Steps: in this very page, mousedown the left button and then move the cursor
Actual (with Firefox 3.6.13): all the text become selected/highlighted and the cursor has the I-beam shape. But when the cursor is over a link, then the cursor changes to pointer (a pointing hand).
Actual (with Chrome 8.0.552.237): all the text become selected/highlighted and the cursor has the I-beam shape. When the cursor is over a link, then the cursor remains a text (I-beam shape) cursor.
}

{
Steps: I load
http://www.gtalbot.org/DHTMLSection/Cursors.html#CSS2
and then mousedown the left button and then move the cursor in the &quot;Notes&quot; column (from auto row at the top to &lt;URI&gt; row at the bottom).
Actual (with Firefox 3.6.13): all the text in the first 3 columns become selected, highlighted while the cursor changes accordingly to become the cursor name given in the first column
Actual (with Chrome 8.0.552.237): all the text in the first 3 columns become selected, highlighted while the cursor becomes and remains a text (I-beam shape) cursor.
}

&gt; Do they adjust the cursor based on style changes in the element you were over when the mouse went down?

Yes with Firefox 3.6.13. No with Chrome 8.0.552.237. I can check with IE8 later if you want.

------------

FWIW, 2 Drag-n-drop HTML5 demos (using dragstart, dragover, dragenter, dragleave events):

http://html5demos.com/drag

http://html5demos.com/drag-anything

regards, Gérard</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>340286</commentid>
    <comment_count>11</comment_count>
    <who name="Gérard Talbot (no longer involved)">browserbugs2</who>
    <bug_when>2011-01-26 08:52:50 -0800</bug_when>
    <thetext>&gt; Do they adjust the cursor based on style changes in the element you were over when the mouse went down?

While following the steps given before for the 2 urls...

Yes with Firefox 3.6.13 (under Linux) and Opera 11.0 (build 1156; under Windows XP). 

No with IE8 (under Windows XP) and Chrome 8.0.552.237 (under Linux).

Gérard</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>340328</commentid>
    <comment_count>12</comment_count>
    <who name="Gérard Talbot (no longer involved)">browserbugs2</who>
    <bug_when>2011-01-26 10:12:08 -0800</bug_when>
    <thetext>&gt; Do they adjust the cursor based on style changes in the element you were over when the mouse went down?

While following the steps given in #c10 for the 2 urls...

Yes with Konqueror 4.5.5 (Qt 4.7.0, i686, Linux 2.6.35-24-generic-pae;).

Gérard</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>341068</commentid>
    <comment_count>13</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-01-27 14:55:10 -0800</bug_when>
    <thetext>There are multiple things wrong:

    1) Changing CSS cursor style won’t trigger a cursor change until the mouse moves.

    2) If an element’s position change affects the cursor because it moves under the cursor our moves out from under the cursor the cursor won’t change until the mouse moves.

    3) Hover effects also don’t change in cases like (2).

    4) Changing CSS cursor style doesn’t have any effect while the mouse is down.

I am going to post a patch that fixes only (1). We should use separate patches for the other issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>341070</commentid>
    <comment_count>14</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-01-27 14:58:47 -0800</bug_when>
    <thetext>(In reply to comment #13)
&gt; We should use separate patches for the other issues.

I mean separate bug reports.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>341074</commentid>
    <comment_count>15</comment_count>
      <attachid>80368</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-01-27 15:04:17 -0800</bug_when>
    <thetext>Created attachment 80368
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>341081</commentid>
    <comment_count>16</comment_count>
      <attachid>80368</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-01-27 15:27:46 -0800</bug_when>
    <thetext>Comment on attachment 80368
Patch

I don&apos;t think this handle the case where an element&apos;s cursor style doesn&apos;t change, but layout moves the element under the cursor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>341116</commentid>
    <comment_count>17</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-01-27 16:20:37 -0800</bug_when>
    <thetext>(In reply to comment #16)
&gt; I don&apos;t think this handle the case where an element&apos;s cursor style doesn&apos;t change, but layout moves the element under the cursor.

Yes, correct.

As I said above, my patch fixes only issue (1) above and you are citing my issue (2) above. I discussed this with Mitz and Hyatt, and Mitz pointed out (3) above and Hyatt thought we should fix cursors and hover at the same time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>341197</commentid>
    <comment_count>18</comment_count>
    <who name="Andrew Scherkus">scherkus</who>
    <bug_when>2011-01-27 17:58:50 -0800</bug_when>
    <thetext>interested in the fix for (1) since I hacked up a hide-the-cursor-over-video-playback demo!  cool!!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>341214</commentid>
    <comment_count>19</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-01-27 18:12:48 -0800</bug_when>
    <thetext>Committed r76891: &lt;http://trac.webkit.org/changeset/76891&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>341256</commentid>
    <comment_count>20</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2011-01-27 19:28:31 -0800</bug_when>
    <thetext>Reopening because the patch caused all the layout tests to crash on SnowLeopard.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>341776</commentid>
    <comment_count>21</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-01-28 15:13:59 -0800</bug_when>
    <thetext>Re-landed with missing null check: &lt;http://trac.webkit.org/changeset/76999&gt;.

We can either close this bug or re-purpose it to cover (4) since the test case in this bug requires (4). Even clearer would be to close this and file new separate bugs for (2), (3), and (4).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>341813</commentid>
    <comment_count>22</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-01-28 15:46:12 -0800</bug_when>
    <thetext>Filed bug 53340, bug 53341, bug 53342.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>341891</commentid>
    <comment_count>23</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-01-28 17:31:37 -0800</bug_when>
    <thetext>Did you forget to make areNonIdenticalCursorListsEqual inline or was it intentional?  It&apos;s only called by areCursorsEqual, which is declared static inline.

http://trac.webkit.org/changeset/76999/trunk/Source/WebCore/rendering/RenderObject.cpp</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>341907</commentid>
    <comment_count>24</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-01-28 17:58:07 -0800</bug_when>
    <thetext>(In reply to comment #23)
&gt; Did you forget to make areNonIdenticalCursorListsEqual inline or was it intentional?

It was intentional and in fact it’s the reason there are two functions. Since almost no objects have cursor lists, I wanted to put the much less hot code behind a function call. Probably not obvious so I should have put in a comment.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>80368</attachid>
            <date>2011-01-27 15:04:17 -0800</date>
            <delta_ts>2011-01-28 15:14:20 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-14344-20110127150416.patch</filename>
            <type>text/plain</type>
            <size>5078</size>
            <attacher name="Darin Adler">darin</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDc2ODQzKQorKysgU291cmNlL1dlYkNvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMjQgQEAKKzIwMTEtMDEtMjcgIERhcmluIEFk
bGVyICA8ZGFyaW5AYXBwbGUuY29tPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09Q
UyEpLgorCisgICAgICAgIENoYW5naW5nIGN1cnNvciBzdHlsZSBoYXMgbm8gZWZmZWN0IHVudGls
IHRoZSBtb3VzZSBtb3ZlcworICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1
Zy5jZ2k/aWQ9MTQzNDQKKyAgICAgICAgcmRhcjovL3Byb2JsZW0vNzU2MzcxMgorCisgICAgICAg
IE5vIHRlc3RzIGFkZGVkIGJlY2F1c2Ugd2UgZG9uJ3QgaGF2ZSBpbmZyYXN0cnVjdHVyZSBmb3Ig
dGVzdGluZyBhY3R1YWwgY3Vyc29yCisgICAgICAgIGNoYW5nZXMgKGFzIG9wcG9zZWQgdG8gY3Vy
c29yIHN0eW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