Mouse wheel autoscroll not stopped by rotating the wheel or pressing a key




14 years ago
3 months ago


(Reporter: Jesse Barros, Unassigned)


(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)



(1 attachment)



14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030720 Mozilla Firebird/0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030720 Mozilla Firebird/0.6

When autoscrolling (i.e., pressing the wheel on a mouse and then moving the
pointer outside of the origin mark), rotating the wheel or pressing a key does
not stop autoscrolling.

Reproducible: Always

Steps to Reproduce:
With a mouse that has a wheel:
1. Press the wheel button.
2. Press a key or rotate the wheel.

Actual Results:  
Autoscroll continued.

Expected Results:  
Autoscroll should have stopped.

Design guidelines for mouse wheel autoscrolling and panning can be found at

Comment 1

14 years ago
Confirming bug with 20030721 build on W2K.

From the microsoft guidelines on said URL:
"Start automatic scrolling when the user clicks the wheel button. Cancel the
scrolling operation when the user clicks the wheel button again or clicks any
other mouse button. Also cancel the operation if the user presses any key. You
should ignore any function assigned to that key and return the application to
the state it was in before automatic scrolling was started."
Ever confirmed: true


14 years ago
Blocks: 212273


14 years ago
No longer blocks: 212273


14 years ago
Blocks: 212273

Comment 2

14 years ago
Confirming on WinXp.
The above comment states that the current behavior is incorrect, cause when I
turn on autoscroll and then click on a link, that link is followed.
See also:

Comment 3

14 years ago
*** Bug 215515 has been marked as a duplicate of this bug. ***


14 years ago
QA Contact: asa


14 years ago
QA Contact: bugzilla

Comment 4

13 years ago
Actually the MS wording doesn't explicitly include when the user rotates the
mouse wheel. I find being able to wheelscroll while autoscrolling without
interrupting the autoscroll very useful, as if I'm scrolling down a document but
want to read something in more depth I'll often wheelscroll up a bit to give me
slightly more time to read that section [this used to work, but doesn't anymore
in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050531

Comment 5

13 years ago
The Microsoft wording doesn't include scrolling the wheel as a valid terminating
action for autoscroll; however, it seems to be pretty consistently treated as
such.  I just confirmed this behavior in Windows 2000 Notepad, Word 2000, Excel
2000, and Internet Explorer 6.  (Sorry, the computer I'm on doesn't have any
non-Microsoft software that also supports autoscroll.)
Created attachment 189880 [details] [diff] [review]

This fixes it for me. Also a little bit of whitespace clean-up in here.
Attachment #189880 - Flags: review?(mconnor)


12 years ago
Assignee: firefox → martijn.martijn


12 years ago
QA Contact: bugzilla → general

Comment 7

12 years ago
Pressing a key, or *switching focus to another application* (e.g. using Alt-Tab under windows) should probably cancel the autoscroll. However I maintain that it's often useful for the mousewheel _not_ to cancel it, and having to click a mousebutton (clicking the wheel will do) if you do want to cancel the autoscroll is very little effort...
martijn, does the patch in comment 6 still apply? And do you think it's worth getting on the trunk? (Someone in IRC has just been asking about this)
I don't think the patch applies anymore, I certainly think it's worth getting on the trunk. The patch probably needs to be changed in a way similar to the patch in bug 240363?


11 years ago
Attachment #189880 - Flags: review?(mconnor)
I did not implement this functionality by design in SeaMonkey, and expect the behavior with bug 242621 is the same.  Is this WONTFIX, or do you actually want this behavior?

Comment 11

10 years ago
Bug 319080 and bug 387521 make it sound like Firefox users like being able to use wheel scrolling while autoscroll is active and don't like IE's behavior of wheel scrolling canceling autoscroll.
I'm actually not sure if we want wheel scrolling to stop autoscroll, nowadays.
Assignee: martijn.martijn → nobody


a year ago
Blocks: 1303903

Comment 13

3 months ago
Not even CTRL+W can stop it! Bug 867962.
You need to log in before you can comment on or make changes to this bug.