Closed Bug 12280 Opened 27 years ago Closed 26 years ago

Erratic focus annoyances {problems with keyboard scrolling}

Categories

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

x86
Windows 98
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: twm, Assigned: joki)

Details

I browse mostly using the keyboard. I've noticed irregular problems with the focus and cursor -- most of these don't happen all the time, but I've experienced and repeated all of them: - After alt-tabbing back to Mozilla, focus is not on the current page, so I need to click back into the window before scrolling up and down. - Same problem after using scrollbars (clicking on up/down arrows) - The pagedown/pageup keys move the screen but appear to not affect the "cursor" (ie subsequent ups and downs with arrow keys will jump back, ignoring recent pageups/pagedns).
Using 1999-10-12-16-M11 on Windows NT, the first two problems (the keyboard focus problems) reproducibly occur, as does another: After clicking on a link and waiting for the page to load, the up/down arrow & pageup/pagedown keys do nothing until the new page is given focus by a mouse click inside the canvas area. The third problem, involving jumping of vertical position when switching back to using up/down arrow keys from pageup/pagedown keys, does not occur with the same build on NT.
A few clarifications - To reproduce the Alt-Tab bug: 1. Open Mozilla 2. Click on document window to give focus to document 3. Alt-Tab to switch to another window 4. Switch back again (using any method) 5. Focus is now in the "File" menu -OOPS [New bit:] 6. Switch away with Alt-Tab again 7. Switch back 8. Focus is back in document It seems Alt+Tab sends mozilla both an Alt PRESS event and an Alt RELEASE event. What it should do IMHO is send neither. Right now you have to hit Escape or Alt every time you switch back to Mozilla, EXCEPT if you switched back and forth an even amount of times. Very confusing.
Summary: Erratic focus annoyances → Erratic focus annoyances {problems with keyboard scrolling}
With the current M11 nightly binary, any use of the scrollbar results in the [PgUp] and [PgDn] keys, and the [Up] and [Down] arrow keys not working for scrolling the page content until the page is clicked on. The same keys keys also do not work to scroll the page immediately after arriving at the page. The third annoyance noted by the reporter does not seem to be happening now. Tested with: 1999-11-10-16-M11 nightly binary on Windows NT 4.0sp3 The first annoyance noted by the reporter looks like a DUP of bug 17749 or bug 17683. It makes sense that no Mozilla app should ever take receipt of an ALT+TAB keypress on Windows (that combo is reserved for the MS-Windows shell), but even if it did, that should have no effect on subsequent typing. In any case, that part of this bug report looks to be better served by one of the other two reports.
The bit about not being able to scroll with the keyboard after using the scrollbar is a DUP of 908
Truncated - it's bug 9086
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
Since the initial click in the page bug in 9701 and the click on scrollbar bug is 9086 and the third issue doesn't seem to be occurring I'm marking this worksforme
I'm satisfied with the resolution of this bug, too. The third issue hasn't happened to me for many milestones.
Status: RESOLVED → VERIFIED
verified
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.