Closed
Bug 165267
Opened 23 years ago
Closed 23 years ago
Page Up and Page Down keys not working in browser
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 165255
People
(Reporter: myk, Assigned: mjudge)
Details
(Keywords: platform-parity, regression)
Attachments
(1 file)
1.39 KB,
patch
|
mjudge
:
review+
|
Details | Diff | Splinter Review |
The Page Up and Page Down keys in my Linux nightly 2002-08-28-08 aren't working.
Steps to Reproduce:
1. Start the browser.
2. Load a long page (f.e. http://mozilla.org/roadmap.html).
3. Click in the page to make sure it's focused.
4. Press the Page Down key.
Expected Results: The browser scrolls down a page.
Actual Results: Nothing happens.
Additional Information:
The same thing happens in other windows (f.e. the JavaScript console), so it
isn't specific to the browser window. Scrolling up and down via the mouse, the
the arrow keys, and the Home and End keys works fine, so the problem seems to be
limited to the Page Up and Page Down keys.
Reporter | ||
Comment 1•23 years ago
|
||
Bug 165244 may be a dupe of this, although that problem is on Mac, isn't
immediate (the problem apparently appears some time after starting the browser),
and affects the cursor keys as well.
Comment 2•23 years ago
|
||
I'm wondering if you got accessibility.browsewithcaret turned on by accident. Is
there a caret blinking in your browser content? F7 is the key to toggle that on
and off.
Do arrow keys work to scroll the page?
Comment 3•23 years ago
|
||
WFM - 2002082804 trunk / XP.
Reporter | ||
Comment 4•23 years ago
|
||
When I press F7, it asks me if I want to turn Caret Browsing on. If I say yes,
no caret appears, the Page Up and Page Down keys still don't work, and the arrow
keys stop working. If I press F7 again, the arrows keys start working again,
but the Page Up and Page Down keys don't.
Reporter | ||
Updated•23 years ago
|
Keywords: mozilla1.2
Reporter | ||
Comment 5•23 years ago
|
||
It looks like the fix for bug 4302 (problems with Page Up and Page Down in
Composer) is responsible for this regression. The keys work fine on builds
before the fix for that bug landed (f.e. 2002-08-28-21).
Comment 7•23 years ago
|
||
More info:
- Myk and I tried to create a fresh profile, but the problem still occured.
- Page Up/Dn did work when Myk was in Composer (just not in the browser)
Summary: Page Up and Page Down keys not working → Page Up and Page Down keys not working in browser
this works for me on windows. I dont even know where to begin. I think this is a
dup of that mac bug. I dont know why this is happening but Kathy seemed to have
a handle on it. does her fix fix this also?
Status: NEW → ASSIGNED
well I notice that control-end and control-begin are not working in composer
now. I investigated and I believe someone on layout has rearranged the scroll
views again. After getting the root scrollable view and getting its client data
I am not able to find the BlockFrame properly. I will have to talk to someone
on layout about this.
![]() |
||
Comment 10•23 years ago
|
||
raising severity, sorry. This makes it very difficult to actually use any
webpage longer than a page (eg any bug in bugzilla).
Severity: normal → major
Comment 11•23 years ago
|
||
Mike, maybe it would be easiest if someone expieriencing the bug let you debug
on their system. Maybe bz can show you?
Comment 13•23 years ago
|
||
This affects Windows too. I'm seeing it in an optimized build from this evening
on win2K. We cannot ship 1.2alpha with such basic functionality broken.
Blocks: 1.2a
OS: Linux → All
Assignee | ||
Comment 14•23 years ago
|
||
Someone else screwed up here. my tree after I checked in worked. now that I
just updated I am no longer even getting the message to scroll the page up or
down. This is not even getting to the nsPresShell::ScrollPage method. someone
hoarked events or keybindings in the last day. I wouldnt even know where to
start debugging this. The code that was checked in for 4302 modified
nsPresShell::PageMove heavily.`
![]() |
||
Comment 15•23 years ago
|
||
OK. 5 minutes of investigation shows that the responsible checkins are these:
http://bonsai.mozilla.org/cvsquery.cgi?module=MozillaTinderboxAll&date=explicit&mindate=1030541100&maxdate=1030542500
What happened was:
1) bindings were added to the various platformHTMLBindings.xml
2) bindings were removed from htmlBindings.xml
reverting change #2 fixes the pgup/pgdown problem. I'm not sure why. All the
platformHTMLBindings files have handlers for the VK_PAGE_UP keys... the
difference is that the platform bindings bind those keys to cmd_movePage* while
htmlBindings bound them to cmd_scrollPage*
![]() |
||
Comment 16•23 years ago
|
||
Aha! brade's checkin removed the VK_PAGE_* keys from the browserBase binding
and editorBase binding... They are defined on the editor (and textAreas) binding
in platformHTMLBindings.xml, but _not_ on the browser binding.
I'd suggest just reinstating the browserBase bindings in htmlBindings.xml
![]() |
||
Comment 17•23 years ago
|
||
Assignee | ||
Comment 18•23 years ago
|
||
Comment on attachment 97150 [details] [diff] [review]
patch
r=
Attachment #97150 -
Flags: review+
![]() |
||
Comment 19•23 years ago
|
||
*** This bug has been marked as a duplicate of 165255 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Comment 20•23 years ago
|
||
mass-verification of Duplicates.
mail search string for bugspam: SolarFlaresAreTheCause
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Component: Keyboard: Navigation → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•