Closed
Bug 37515
Opened 25 years ago
Closed 24 years ago
None of pg-up/pd-dn/home/end on the numerickeypads work
Categories
(Core :: XUL, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla1.0
People
(Reporter: tajima, Assigned: saari)
Details
(Whiteboard: [nsbeta3-])
From Bugzilla Helper: User-Agent: Mozilla/4.7 [ja] (X11; I; SunOS 5.8 sun4u) BuildID: 2000030708 "Pg Up", "Pg Dn", "Home" and "End" on the numerickeypads don't work on either browser or editor window. The problem is observed on both Solaris and Linux. 1. none works on either composer window or plain text window 2. pageup/pagedown don't work on browser window. A set of individual "Home", "End", "PageUP" and "PageDown" works properly. Reproducible: Always Steps to Reproduce: 1. Browse web page long enough to have vertical scrolling bar. 2. hit individual "PageUP" or "PageDown", you will see the web page scrolling up and down properly. 3. However, "PgUP" or "Pg Dn" on the numeric keypad don't work at all. Actual Results: No responce. Expected Results: The document should be one-page scrolled up and down with "PgUP" and "PgDown" on the numeric keypads. The same to "Home" and "End" on the numeric keypads. Here are keysym bindings for these keytops on the numeric keypad. F27="Home", F33="End", F29="Prior"(PgUP), F35="Next" (PgDown) We can see some definitions in XUL files for HOME,END,PAGE_UP and DOWN, we can add our binding for those F?? keys. However, it seems that gtkwidget (nsGtkEventHandler.cpp) doesn't allow function key over F24. I'm not sure the reason the max is GDK_F24, Gdk itself supports F1 - F35 range. So we need to fix this problem first. int nsPlatformToDOMKeyCode(GdkEventKey *aGEK) { ... // function keys if (keysym >= GDK_F1 && keysym <= GDK_F24) return keysym - GDK_F1 + NS_VK_F1; ... }
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → M18
Comment 2•25 years ago
|
||
mass-moving all bugs to m21 that are not dofood+, or nsbeta2+
Target Milestone: M18 → M21
Comment 3•25 years ago
|
||
This is also applies to using the numeric keypad as an arrow key substitutes. Some computers (like the sparcs we have here) have no arrow keys so this is fairly essential.
Comment 5•24 years ago
|
||
nsbeta3-, wouldn't hold for these not working.
Whiteboard: [nsbeta3-]
Target Milestone: M21 → Future
This works for me on Linux Build 2000112606. Anyone still seeing problems?
Comment 8•24 years ago
|
||
This also works for me 20001127nn win32/linux (n/a for standard mac keyboards). Anyone with a Sun want to comment?
Comment 9•24 years ago
|
||
This one has been fixed for some time. Sorry for stalling... 2000101518 Linux on a sparc. Marking as fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•