Open
Bug 657080
Opened 14 years ago
Updated 3 years ago
Binding CTRL+PGUP/PGDOWN cannot prevent browser tab switching
Categories
(Firefox :: Keyboard Navigation, defect)
Tracking
()
REOPENED
People
(Reporter: bugs, Unassigned)
References
Details
Attachments
(1 file)
602 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Many text editing web apps need their own behavior for PGUP/PGDOWN/CTRL+PGUP/CTRL+PGDOWN. However, despite being able to bind CTRL+PGUP the browser will still switch tabs and it is unpreventable from within Javascript.
Reproducible: Always
Steps to Reproduce:
1. Bind CTRL+PGDOWN to do do a useful callback handler.
2. Press CTRL+PGDOWN
Actual Results:
The callback handler will fire, but the browser will also switch tabs.
Expected Results:
The browser to not switch tabs, or be able to prevent the browser from switching tabs by some mechanism.
Updated•14 years ago
|
Version: unspecified → 4.0 Branch
Comment 1•12 years ago
|
||
Most users, like me, expect that the browser's keyboard actions do their browser job. See file bug 933470, file bug 380637.
Comment 2•11 years ago
|
||
Based on bug 933470, Firefox now matches the "expected behavior" described in comment 0 (although as pointed out above, this new behavior is itself a problem for many users; see bug 380637 for much more on that).
Comment 3•11 years ago
|
||
Hmm, it seems I spoke too soon. At least in this simple testcase in Firefox 33 on Linux, ctrl-pgup/down still switch tabs even when the event is captured and canceled.
Updated•11 years ago
|
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: WORKSFORME → ---
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•