Closed
Bug 474183
Opened 16 years ago
Closed 16 years ago
keyboard scrolling lags on slow sites, suggestion for solution
Categories
(Firefox :: Keyboard Navigation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 201307
People
(Reporter: casandro_lion, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.5) Gecko/2008121622 Ubuntu/8.10 (intrepid) Firefox/3.0.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.5) Gecko/2008121622 Ubuntu/8.10 (intrepid) Firefox/3.0.5
When you view a site which is slow to render keyboard scrolling becomes barely usable. It lags and wont stop, till it has finished scrolling.
Obviously it just gets more key-pressed messages than it can handle, so my solution would be like this:
Oh key-down (or first key-pressed) message, set a flag and scroll.
If you get a key-pressed message and the flag is set, you empty the key event buffer (there shouldn't be anything in there except for arrow keys) and scroll
on key-up you unset that flag.
That way, if you would have several key-pressed events while you are rendering the buffer won't fill up as fast.
Reproducible: Always
Steps to Reproduce:
1. load that site
2. wait for it to be fully loaded
3. press the down key for a few seconds
4. lift your finger and see how long it still scrolls down.
Actual Results:
The page scrolls on and on for some time
Expected Results:
The page should stop scrolling immediately when I lift my finger of the button.
This bug severely damages the user experience and is probably easy to fix.
However there is the easy workaround of just pressing the button for very short times.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•