Bug 9098

Summary: Keyboard shortcuts don't work in GMail until you click in the page
Product: WebKit Reporter: Alisdair McDiarmid <alisdair>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: adam.hansen, ap, aroben, david.l.jones, ian, joost, louise6380, mitz, webkit
Priority: P2 Keywords: GoogleBug, InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://mail.google.com/mail/

Alisdair McDiarmid
Reported 2006-05-24 14:58:18 PDT
On first loading a GMail page, the keyboard shortcuts (e.g. j, k) don't work. This can be solved by clicking in the page. When a new page is loaded, for example by opening a message, the focus is lost again (sometimes... sorry, but I can't work out exactly when). Clicking in the page makes the shortcuts respond. This bug exists both in 417.9.3 and the latest nightly build.
Attachments
Joost de Valk (AlthA)
Comment 1 2006-07-12 10:20:41 PDT
Adding GoogleBug keyword in one big change.
Gregg Thomason
Comment 2 2006-10-28 19:17:21 PDT
(In reply to comment #0) > On first loading a GMail page, the keyboard shortcuts (e.g. j, k) don't work. > This can be solved by clicking in the page. > > When a new page is loaded, for example by opening a message, the focus is lost > again (sometimes... sorry, but I can't work out exactly when). Clicking in the > page makes the shortcuts respond. > > This bug exists both in 417.9.3 and the latest nightly build. > This isn't affecting me for nightly revision 17397.
Adam Hansen
Comment 3 2007-07-11 08:58:16 PDT
Works for me when using Safari 2.0.4 (419.3), Safari 3.0.2 (522.12), and WebKit r24182.
Robert Blaut
Comment 4 2008-02-10 15:09:07 PST
I can confirm this bug working with a new UI of Gmail: http://mail.google.com/mail/?&ui=2 The bug isn't visible with old UI: http://mail.google.com/mail/?&ui=1 I think the problem is an Evangelism bug.
Alexey Proskuryakov
Comment 5 2008-02-10 23:20:56 PST
I'm a bit confused. With shipping Mac Safari 3.0.4 and "new" GMail, I cannot get "j" or "k" work at all - what are they supposed to do? Also, what evidence do we have to believe that this is an evangelism bug?
mitz
Comment 6 2008-02-10 23:29:09 PST
(In reply to comment #5) > I'm a bit confused. With shipping Mac Safari 3.0.4 and "new" GMail, I cannot > get "j" or "k" work at all - what are they supposed to do? Keyboard shortcuts in Gmail are off by default. You can turn them on in Settings > General > Keyboard shortcuts. K and J move to the next or previous conversation.
Robert Blaut
Comment 7 2008-02-10 23:35:52 PST
(In reply to comment #5) > I'm a bit confused. With shipping Mac Safari 3.0.4 and "new" GMail, I cannot > get "j" or "k" work at all - what are they supposed to do? http://mail.google.com/support/bin/answer.py?hl=en&ctx=mail&answer=6594 > Also, what evidence do we have to believe that this is an evangelism bug? The site works with old UI, doesn't work with new UI. Try to change UA to Safari 2.0 and compare.
Adam Roben (:aroben)
Comment 8 2008-02-11 07:25:32 PST
(In reply to comment #4) > I can confirm this bug working with a new UI of Gmail: > http://mail.google.com/mail/?&ui=2 > > The bug isn't visible with old UI: http://mail.google.com/mail/?&ui=1 I can reproduce the bug with both versions of the GMail UI using Safari 3.0.4 on OS X 10.5.1: 1. Ensure keyboard shortcuts are enabled in your GMail preferences (Settings > General > Keyboard shortcuts) 2. Type http://mail.google.com/ in the URL field and press Enter 3. Type 'j' The arrow pointing to the first message should move down to the second message, but doesn't. My guess is that this is caused by when Safari/WebKit sends a focus event to the window/document compared to other browsers.
Adam Roben (:aroben)
Comment 9 2008-02-11 07:26:23 PST
David Jones
Comment 10 2008-11-18 16:50:31 PST
There is an additional case where this bug presents in the Gmail interface. Steps to reproduce (with keyboard shortcuts enabled): 1. Open a message in reading view (click the message in the inbox) 2. Ensure the page is focused and that keypresses are observed - n/p should move through the conversation. 3. Press '.' (period) to open the "More Actions" dropdown list. 4. Use arrow keys or first letter to highlight a label or action. 5. Press return to activate that action or label. The "More Actions" list closes. 6. The page has now lost focus - n/p will not move through the conversation, 'y' or 'e' will not archive. 7. Click the page to restore focus. 8. Keypresses are now observed again: n/p will cycle through the conversation, 'y' or 'e' will archive.
Note You need to log in before you can comment on or make changes to this bug.