Closed Bug 777081 Opened 12 years ago Closed 12 years ago

Firefox keyboard shortcuts (Ctrl+K, Ctrl+L) expose keypress to the document, at YouTube (no plugins needed)

Categories

(Firefox :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 380637

People

(Reporter: dholbert, Unassigned)

References

()

Details

STR:

 0. Optional: enter the YouTube HTML5 trial at http://youtube.com/html5
    (Just to rule out any issues from keypresses going to plugins vs firefox)

 1. Load a long HTML5 YouTube video, like https://www.youtube.com/watch?v=HkG03_BfRpk , and start it playing.

 2. Click some blank space on the document, to be sure the document has focus.

 3. Press Ctrl+k (or Cmd+k on Mac)

ACTUAL RESULTS: Firefox's search bar is focused, *AND* the youtube player pauses. (because "k" is the keyboard shortcut for "play/pause" at YouTube.

EXPECTED RESULTS: The YouTube player should not have paused -- it shouldn't have seen my "k" keypress.


ALSO: Ctrl+L produces similar results. (It focuses the URLbar and seeks YouTube forward by 10sec, since "L" is YouTube's keyboard shortcut for "seek forward 10sec")  I'd expect that my Ctrl+L should be hidden from web content, so it shouldn't affect youtube.

FWIW, Midori and Chromium both give EXPECTED RESULTS on my system.

Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0
Built from http://hg.mozilla.org/mozilla-central/rev/a26e751bfb54
hmm, maybe a dupe of bug 380637, from chatting with mbrubeck / gavin on IRC
Yeah, I suppose this is a form of bug 380637.

Basically, we're sending the "Ctrl+k" keypress event to our front-end code _and_ to youtube, and they both handle it. (youtube just happens to ignore the ctrl modifier)
Status: NEW → RESOLVED
Closed: 12 years ago
Depends on: 380637
Resolution: --- → DUPLICATE
No longer depends on: 380637
You need to log in before you can comment on or make changes to this bug.