Closed Bug 15371 Opened 25 years ago Closed 25 years ago

Holding down arrow key on Mac only results in 1 scroll event

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

PowerPC
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: elig, Assigned: Brade)

Details

* TITLE/SUMMARY
[PP] Holding down arrow key on Mac only results in one scroll event

* STEPS TO REPRODUCE
0) Launch Apprunner
1) Click into the browser's content region
2) Hold down the bottom-facing arrow.

* RESULT
 - What happened

The browser scrolls downwards, once. Other key events (e.g. holding down an "f"
key within a text field) do repeat.

 - What was expected

Scroll arrow events to repeat, like other key events.


* REGRESSION

 - Occurs On
        Mac OS Apprunner (1999 10/01 08:00 optimized build)

 - Doesn't Occur On
        Win32 Apprunner (1999 10/01 08:00 optimized build [NT 4, Service Pack 5])
        Linux Apprunner (1999 10/01 08:00)



* CONFIGURATIONS TESTED

- [Mac] Beige Power Mac G3 (266 MHz PowerPC 750), 96 MB RAM (VM on; 1 MB of VM
used), 1024x768 (Thousands of Colors), Mac OS 8.6

- [Win32] Vectra VL (233 MHz P2), 96 MB RAM, 800x600 (True Color), NT 4.0 SP5.

- [Linux] Vectra VL (266 MHz P2), 96 MB RAM. Red Hat Linux 6.0 (GNOME).
QA Contact: janc → elig
[QA Assigning to self.]
Assignee: saari → brade
Summary: [PP] Holding down arrow key on Mac only results in one scroll event → Holding down arrow key on Mac only results in 1 scroll event
Target Milestone: M11
reassign to myself, the bug is in joki's event code.  I need him to review it.
Auto-key events are supposed to generate only one keydown but the scrolling code
is checking for arrow keys only on keydown (rather than keypress).  I'm going to
remove the [pp] designation as changes will affect all platforms and it's likely
that key repeat problems will be found on Linux and Windows.
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
this was fixed last week
Status: RESOLVED → REOPENED
Using this morning's build (1999101812) on Mac, arrow page keys, and Page Up/Page
Down keys no longer do anything. (0 scroll events.)

Thus, re-opening. (Worked fine on this morning's Linux build, Win32 won't
decompress.)
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
resolve as fixed.
Actually it does work on Macintosh.  There does seem to be a focus problem
though.  You need to click in the page in order for the key events to be
received.

Eli--Are there other focus problems like this?  Is a bug already filed?
Status: RESOLVED → VERIFIED
Doh. I can't believe that. I mean, I just double-checked, and I do believe it,
but I *know* I explicitedly placed focus within the window by clicking before re-
opening the bug, and the arrow key didn't do anything. I wonder if I could have
clicked in dead space.

Many duplicate bugs have been reported on the focus issue; 9701 is root.
Doh. Good morning. I mean, "pressed the arrow key twice", not "double-clicked".
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.