<?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>8741</bug_id>
          
          <creation_ts>2006-05-04 14:33:58 -0700</creation_ts>
          <short_desc>Keyfocus regression at http://www.mochikit.com/examples/interpreter/index.html</short_desc>
          <delta_ts>2006-07-06 20:36:50 -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>Forms</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.mochikit.com/examples/interpreter/index.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>adele</cc>
    
    <cc>alain.odea</cc>
    
    <cc>ian</cc>
    
    <cc>mrowe</cc>
    
    <cc>opendarwinbugzilla06</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>41274</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-05-04 14:33:58 -0700</bug_when>
    <thetext>Go to http://www.mochikit.com/examples/interpreter/index.html

type &quot;1&quot; &lt;enter&gt; in the console.
Now the text field looks like it has focus, but it doesn&apos;t.  (delete goes back, space scrolls, etc.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42663</commentid>
    <comment_count>1</comment_count>
      <attachid>8357</attachid>
    <who name="">opendarwinbugzilla06</who>
    <bug_when>2006-05-16 16:11:26 -0700</bug_when>
    <thetext>Created attachment 8357
Potential Test Case Reduction

I&apos;ve been having problems with form fields losing focus during JavaScript execution as well, even though the blue border indicating focus remains around the field. It looks like the bug I&apos;ve found is related to this one.

I&apos;ve attached a test case reduction for the problem I&apos;ve been experiencing with a website&apos;s login form. Type into the userid field, wait 1/4 second, and then attempt to type another letter.

In Safari 417.9.3 (as well as Firefox) this form works as expected, but in 420+ you can no longer interact with the text box without clicking on it between each key press.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42665</commentid>
    <comment_count>2</comment_count>
    <who name="">opendarwinbugzilla06</who>
    <bug_when>2006-05-16 16:17:51 -0700</bug_when>
    <thetext>(In reply to comment #1)

Sorry for the second message, but to clarify the test case: In order for the bug to exhibit you have to type a lower-case letter into the text field. If you type an upper-case letter, a number, or a symbol that the call to value.toUpperCase() does not modify then focus will remain in the text field.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44708</commentid>
    <comment_count>3</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-06-04 16:18:04 -0700</bug_when>
    <thetext>This looks like the same problem as bug 8660.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45108</commentid>
    <comment_count>4</comment_count>
    <who name="Alice Liu">alice.barraclough</who>
    <bug_when>2006-06-07 18:48:47 -0700</bug_when>
    <thetext>&lt;rdar://problem/4578090&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46968</commentid>
    <comment_count>5</comment_count>
    <who name="Alain O&apos;Dea">alain.odea</who>
    <bug_when>2006-06-24 08:28:26 -0700</bug_when>
    <thetext>I have a similar problem with focus in Gmail on my PowerBook. Using a nightly WebKit reporting Version 2.0.3 (417.9.3) paste does not work from the keyboard in Gmail. If I try to paste the input field or text area loses focus and I get a system beep. The field or area also loses focus when hitting any of the arrow keys. It seems like losing focus happens with anything other than clicks, textual keystrokes, or backspace. Using Fn-Delete to forward delete also causes focus to be lost as do any other attempts to use Fn-key combinations for things like the numeric keypad or page up/page dn/home/end.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46971</commentid>
    <comment_count>6</comment_count>
    <who name="Alain O&apos;Dea">alain.odea</who>
    <bug_when>2006-06-24 08:41:16 -0700</bug_when>
    <thetext>Gmail focus problem disappeared when I switched to the 23 June 2006 nightly build. Arrow keys and Fn-key combos like forward delete and number pad edit the content of the field normally and don&apos;t cause loss of focus as they did in the previous build I was using. Home/End/Page Up/Page Down still don&apos;t move the caret within the field as I would like, but I suspect this is by design since it is consistent with the last Safari release.

Side note: the About Safari item in the Safari menu in WebKit should list the nightly build identifier to make it easier to track user-filed regressions and improvements like this one.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46973</commentid>
    <comment_count>7</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-06-24 08:55:36 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; Side note: the About Safari item in the Safari menu in WebKit should list the
&gt; nightly build identifier to make it easier to track user-filed regressions and
&gt; improvements like this one.

You need to report the name of the nightly build (preferably the SVN revisions number, rNNNNN) when filing bugs or commenting on bugs.  The About box for Safari is Safari&apos;s version and build number, not WebKit&apos;s.  See this web page:

http://developer.apple.com/internet/safari/uamatrix.html

I agree that it would be nice if Safari could dynamically query WebKit for its version number, though.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46975</commentid>
    <comment_count>8</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-06-24 09:15:53 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; I agree that it would be nice if Safari could dynamically query WebKit for its
&gt; version number, though.

Filed &lt;rdar://problem/4601196&gt; to ask Safari to report its WebKit build number through its About box.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48664</commentid>
    <comment_count>9</comment_count>
    <who name="Alice Liu">alice.barraclough</who>
    <bug_when>2006-07-06 19:50:53 -0700</bug_when>
    <thetext>Is this still happening for anyone else?  With the latest nightly, the focus seems fixed.  Delete and space function as you&apos;d expect with the text field focused.  </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48667</commentid>
    <comment_count>10</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2006-07-06 20:06:39 -0700</bug_when>
    <thetext>The focus problems are not present for me in r15138.  The last nightly build to exhibit this issue was r14926.  It seems that r14932 is the likely candidate for having fixed this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48668</commentid>
    <comment_count>11</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2006-07-06 20:07:42 -0700</bug_when>
    <thetext>Err, that should have been r14931 that was the likely fix.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>8357</attachid>
            <date>2006-05-16 16:11:26 -0700</date>
            <delta_ts>2006-05-16 16:11:26 -0700</delta_ts>
            <desc>Potential Test Case Reduction</desc>
            <filename>peoplesoft8signin.html</filename>
            <type>text/html</type>
            <size>352</size>
            <attacher>opendarwinbugzilla06</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPjwvaGVhZD4KCjxzY3JpcHQgbGFuZ3VhZ2U9IkphdmFTY3JpcHQiPgogICAg
ZnVuY3Rpb24gdShvKXsKICAgIG8udmFsdWU9by52YWx1ZS50b1VwcGVyQ2FzZSgpOwogICAgfQo8
L3NjcmlwdD4KCjxib2R5Pgo8Zm9ybSAgbWV0aG9kPSJwb3N0IiBuYW1lPSJsb2dpbiIgPgoKVXNl
ciBJRDo8aW5wdXQgaWQ9InVzZXJpZCIgb25rZXl1cD0idSh0aGlzKSIgdHlwZT0idGV4dCIgbmFt
ZT0idXNlcmlkIj4gCihEZWZhdWx0cyB0byBVcHBlciBDYXNlKQo8YnI+ClBhc3N3b3JkOgo8aW5w
dXQgaWQ9InB3ZCIgdHlwZT0icGFzc3dvcmQiIG5hbWU9InB3ZCI+CgoJCjwvZm9ybT4KPC9ib2R5
PgoKPC9odG1sPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>