Closed Bug 213496 Opened 23 years ago Closed 4 years ago

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

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jbarros, Unassigned)

References

Details

Attachments

(1 file)

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 http://msdn.microsoft.com/library/en-us/dnwue/html/ch06d.asp.
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."
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: 212273
No longer blocks: 212273
Blocks: 212273
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: http://bugzilla.mozilla.org/show_bug.cgi?id=213726
*** Bug 215515 has been marked as a duplicate of this bug. ***
QA Contact: asa
QA Contact: bugzilla
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 Firefox/1.0+].
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.)
Attached patch patchSplinter Review
This fixes it for me. Also a little bit of whitespace clean-up in here.
Attachment #189880 - Flags: review?(mconnor)
Assignee: firefox → martijn.martijn
QA Contact: bugzilla → general
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?
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?
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
Blocks: 1303903
Not even CTRL+W can stop it! Bug 867962.

20 years later... scrolling the wheel stops autoscroll. Arbitrary keys do not, but I'm not convinced they should. If you want a keypress to stop it, [esc] does so. I'm going to close this WFM as a result -- accel-w (which I agree seems like it should work) is already covered by bug 867962.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: