RESOLVED FIXED8741
Keyfocus regression at http://www.mochikit.com/examples/interpreter/index.html
https://bugs.webkit.org/show_bug.cgi?id=8741
Summary Keyfocus regression at http://www.mochikit.com/examples/interpreter/index.html
Eric Seidel (no email)
Reported 2006-05-04 14:33:58 PDT
Go to http://www.mochikit.com/examples/interpreter/index.html type "1" <enter> in the console. Now the text field looks like it has focus, but it doesn't. (delete goes back, space scrolls, etc.)
Attachments
Potential Test Case Reduction (352 bytes, text/html)
2006-05-16 16:11 PDT, opendarwinbugzilla06
no flags
opendarwinbugzilla06
Comment 1 2006-05-16 16:11:26 PDT
Created attachment 8357 [details] Potential Test Case Reduction I'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've found is related to this one. I've attached a test case reduction for the problem I've been experiencing with a website'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.
opendarwinbugzilla06
Comment 2 2006-05-16 16:17:51 PDT
(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.
Darin Adler
Comment 3 2006-06-04 16:18:04 PDT
This looks like the same problem as bug 8660.
Alice Liu
Comment 4 2006-06-07 18:48:47 PDT
Alain O'Dea
Comment 5 2006-06-24 08:28:26 PDT
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.
Alain O'Dea
Comment 6 2006-06-24 08:41:16 PDT
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't cause loss of focus as they did in the previous build I was using. Home/End/Page Up/Page Down still don'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.
David Kilzer (:ddkilzer)
Comment 7 2006-06-24 08:55:36 PDT
(In reply to comment #6) > 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. 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's version and build number, not WebKit'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.
David Kilzer (:ddkilzer)
Comment 8 2006-06-24 09:15:53 PDT
(In reply to comment #7) > I agree that it would be nice if Safari could dynamically query WebKit for its > version number, though. Filed <rdar://problem/4601196> to ask Safari to report its WebKit build number through its About box.
Alice Liu
Comment 9 2006-07-06 19:50:53 PDT
Is this still happening for anyone else?  With the latest nightly, the focus seems fixed.  Delete and space function as you'd expect with the text field focused.  
Mark Rowe (bdash)
Comment 10 2006-07-06 20:06:39 PDT
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.
Mark Rowe (bdash)
Comment 11 2006-07-06 20:07:42 PDT
Err, that should have been r14931 that was the likely fix.
Note You need to log in before you can comment on or make changes to this bug.