Closed Bug 22407 Opened 25 years ago Closed 25 years ago

keyboard scrolling fails - javascript error

Categories

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

Other
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 23401

People

(Reporter: davet, Unassigned)

References

()

Details

On this page (and other), trying to use the keyboard to scroll the page causes
the following error (in the xterm):
JavaScript Error: TypeError: controller has no properties

However, I've now swapped windows a few times between that one and this and it
now scrolls properly  I've tried to narrwo it down, but it appears to happen
intermittently.

HTH
Sorry, forgot to say the build: 1999082316

dave
Keyboard scrolling with arrow keys appears to work after pressing the tab key
when a page has loaded.
I see the same behavior on my Win98 box.
Component: Browser-General → Event Handling
I've looked at this some more and it appears that the focus isn't getting set
correctly.  When it's failing to scroll,the cursor is still flashing in the URL
bar, so trying to scroll in there won't scroll the page.

I guess focus should be set to the page (rather than the URL bar) when the page
is loaded/loading.

The reason this got reported as it did is because I had tried clicking in the
page to give that the focus, so it's not correctly setting the focus on the
mouseclicks.  Using the tab key does help sometimes, as it moves from the URL to
the page (and possibly a link), but it doesn't always work.

Changing component to Event Handling
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 23401 ***
verified duplicate of 23401.  easy kill.
Status: RESOLVED → 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.