Open Bug 189474 (clickjump) Opened 22 years ago Updated 2 years ago

After fast mousewheel scroll, clicking link jumps in direction of last scroll (seemingly Microsoft Intellimouse related)

Categories

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

x86
Windows 2000
defect

Tracking

()

People

(Reporter: asdel, Unassigned)

References

Details

(Keywords: helpwanted, Whiteboard: [platform-rel-Intel])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130

After using mouse wheel to scroll many wheel clicks (fast), then click on link
in page being viewed.  Link is not followed and current page view jumps what
looks like the number of lines normal for one scroll-wheel click.  Clicking on
link again will cause link to be followed.

This has happenned in several back issues of Mozilla & and also Netscape 7.0

Reproducible: Sometimes

Steps to Reproduce:
1.  Go to fresh page, use mouse-wheel, scrool down quickly many wheel clicks.
2.  Click (left mouse button) on link in current page view.
3.  Current page view jumps down apparently one more scroll wheel click,
    and link is not followed.
4.  Click (left mouse button) on link again,  This time page view does not jump
down and link is    
    followed.



Expected Results:  
Page should not have scrolled on link click, link should have been followed on
first click of left mouse button

DELL GX240, 1.8 MHZ P4, MS intellimouse 1.3A with 4.10.851.0 drivers

Mouse driver includes:
   1)  18042prt.sys -- ver. 5.00.2195.4900
   2)  ipfilter.sys -- ver. 4.10.0851.0
   3)  mouclass.sys -- ver. 5.00.2195.4044
   4)  msmscoin.dll -- ver. not present
Confirming on Mozilla 1.4 2003042508, Windows 98. MS Intellimouse. Intellipoint
4.1 (mouse driver).

I can't remember if there's a duplicate or not, but I can't find it at the
moment, anyway. 
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: After fast Mouse-Scroll, clicking on link, page view jumps in direction of last scroll, link not followed. → After fast Mouse-Scroll, clicking on link, page view jumps in direction of last scroll, link not followed.
*** Bug 191634 has been marked as a duplicate of this bug. ***
*** Bug 198377 has been marked as a duplicate of this bug. ***
--> Event handling. Reassign.

BTW, this is not a case of using the mouse improperly or poor manual dexterity.
Most of the time the problem does not occur. Sometimes, though, it does.
Regardless of how I use the mouse, the problem occurs occasionally. 

QAwanted. Is everyone who is seeing this bug using a wheel mouse? A Microsoft
Intellimouse? What mouse driver version? Is this really a Windows-only problem?
Does it really depend on a fast mouse (wheel) scroll? I hadn't noticed that before.

Does it occur only with left-click or also with right-click? For me, it seems to
occur on left-click and also when I click the middle mouse button, which is also
the wheel. I configured Mozilla to open a tab when I press that button. 

The problem is that (1) the content area should not jump up and then back down
just because you clicked on the content area; and (2) when you open a link with
a click, that link should open. The two bad behaviors of the content area
jumping up and then back down, and not opening the link seem to be inextricably
tied together. There seems to be some conflict in the way that the mouse driver
is sending events and the way Mozilla is receiving them. Not to get too
technical or anything. ;)

After this happens you can just click again. Then it will work. It never happens
two times in a row. Thus, minor severity. 
Assignee: asa → saari
Component: Browser-General → Event Handling
Keywords: qawanted
QA Contact: asa → desale
Summary: After fast Mouse-Scroll, clicking on link, page view jumps in direction of last scroll, link not followed. → after fast mouse scroll and click on link, page view jumps in direction of last scroll, and the link is not followed (Microsoft Intellimouse related?)
Alias: clickjump
->bryner
Assignee: saari → bryner
Does this apply to a quick scrolling of hte mouse wheel that result in a pop-up
new browser window???  Yes, this question is different but I can't help
wondering if they could be a related bug because of the quick moving scroll
wheel of the mouse.

Zook
I've had the screen jump problem using a microsoft Intellipoint mouse on: 

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 
Mouse driver version: 4.0.0.657 

I don't remember the speed of the scrolling being a factor, only that the screen
jumped when I middle clicked a link to open a tab.  I never tried a right click.

Today, I installed Smoothwheel 0.2 from http://smoothwheel.mozdev.org/ and the
problem appears to have gone away.

I've never experienced the problem mentioned in comment #6
Umm..  Interesting.  I am beginning to understand this problem more and more. 
Thanks to the comment #7.  What I found is that with the MS IntelliMouse, the
problem is not limited to the Mozilla browsers alone.  When I use applications
like MS-Office or Internet Explorer or others, strange effect do show up when I
do a quick mouse-wheel scroll.  The problem could be either one of these two
things.  

1) Scrolling the mouse-wheel too fast that you're not aware of pressing down the
mouse wheel as a mouse-click.

2) A buggy mouse driver.  This mouse driver come with WinXP by default at the
time of WinXP installation.

Try testing the other applications beside the Mozilla browsers to see if you
have this similar problem or not.  Let us know about it.
The problem does not occur on IE 6.0 + SP 1 on the same computer that is does
occur with Mozilla 1.4 beta. It's not buggy mouse drivers or user error. It's a
bug in Mozilla. 

I think we've done enough QA. This problem appears to be limited to Windows
machines with Intellimouse drivers. If more QA is needed, just say so.
Keywords: qawantedhelpwanted, nsbeta1
This also occurs when clicking on form elements, such as submit buttons.
Flags: blocking1.4?
Summary: after fast mouse scroll and click on link, page view jumps in direction of last scroll, and the link is not followed (Microsoft Intellimouse related?) → after fast mouse scroll and click on link or form element, page view jumps in direction of last scroll, and the link is not followed (Microsoft Intellimouse related) (content area shifts)
Could this be related to the bug fix that bryner or someone at Netscape that
involve the almost complete rewrite of the mouseover, mouseout and mouseclick
event on HTML features like images, links, map, forms, etc?  Might be worth
checking out to make sure this is not the case...
not blocking 1.4. 
Flags: blocking1.4? → blocking1.4-
adt: nsbeta1-
Keywords: nsbeta1nsbeta1-
Summary: after fast mouse scroll and click on link or form element, page view jumps in direction of last scroll, and the link is not followed (Microsoft Intellimouse related) (content area shifts) → page view jumps after clicking link or form element -- in direction of last scroll; the link is not followed until user clicks again (seemingly Microsoft Intellimouse related) (the content area shifts up or down) (occurs after fast mouse scroll)
Summary: page view jumps after clicking link or form element -- in direction of last scroll; the link is not followed until user clicks again (seemingly Microsoft Intellimouse related) (the content area shifts up or down) (occurs after fast mouse scroll) → After fast mousewheel scroll, clicking link scrolls in direction of last scroll (seemingly Microsoft Intellimouse related)
This sounds like the bug I've been experiencing for some time with Galeon for
Debian Linux, currently on version 1.3.10-3. I'm sure I've seen it in Mozilla
too, currently on version 1.5-3. I also use an MS wheel mouse, but I don't have
to have just been using the wheel to be affected.

Links to named parts of pages (ie <a href="...#...">) seem most severely
affected; sometimes clicking on one of these links I end up nowhere near where I
wanted.

I've found a test case which suffers the bug every time in Galeon but not in
Mozilla. At http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html scroll
down to the GtkAllocation link and middle-click to open the link in a new tab. I
end up just below the entry for gtk_grab_focus() instead. Left-clicking takes me
to the correct link.
I don't think this is just a left click on a link. It also happens to me when I double click to select a word in the webpage's text.  It usually happens right after I go to a new page, but not always. So, not only a single left clink on a link, but a double left click on text and the page scrolls up too. So far, from what I've seen, once it scrolls it won't do it again on the same page. You can scroll around all you like, but once it does it once it won't do it again (at least that's what I've seen).

I have a DELL intellimouse by Microsoft.  My scroll button is set to scroll three lines of text in settings. The version of Firefox is 1.5.0.1 and the OS is Microsoft Windows XP Professional Version 2002 Service Pack 2.
So, to summarize:

1) It only happens with MS wheel mice
2) It happens on Windows and Linux, at least
3) It happens in other apps besides Mozilla-based ones

If it were a driver problem it would not happen in linux too, which uses a generic driver for all ps2 wheel mice.  If it were a Mozilla problem it wouldn't affect other apps.

1 and 2 I can confirm personally. 3 has been reported by someone else on this bug, but i don't remember it happening to me.  So what is needed is to confirm or disprove point 3.  If it's true, it's a hardware problem with MS mice.  If it's false, it's a Mozilla bug.
Assignee: bryner → events
QA Contact: desale → ian
Bug appeared on my system after installing FF 2.0.
Using IBM Trackpoint, SW from Synaptics, V7.5.17.20 - upgrading didn't help.
Bug occurs intermittently, but frequently, however.
FF 1.5 was without problems.
Summary: After fast mousewheel scroll, clicking link scrolls in direction of last scroll (seemingly Microsoft Intellimouse related) → After fast mousewheel scroll, clicking link jumps in direction of last scroll (seemingly Microsoft Intellimouse related)
Not sure if anyone else noticed, but this bug also occurs in Thunderbird.

I use a Microsoft Comfort Optical Mouse 3000 (Part Number X802474-001 Model: 1043)
I've been seeing a related problem since Firefox 2. So far, I've never been able to pin it down to anything, but all too often, a mouse click will cause the page to scroll slightly (as if I'd rolled the wheel one click) and the link won't be followed. It is new to Firefox 2, which made me suspect that Firefox was to blame.

Generally, I do not see this problem in any other software, but it has occurred at least once in Pidgin, under GTK+. I've also experienced it on an XP PC also in Firefox 2 (but again, not other apps).

I'm in Windows 2000, with an IntelliMouse and presumably whatever default drivers SP 4 came with (i8042prt.sys 5.00.2195.6655, mouclass.sys 5.00.2195.6666).

It has to be, for me, one of THE most common problems in Firefox and it keeps recurring all day, every day, month after month. I will have to see if I can notice if it occurs after scrolling, but deliberately using the wheel to scroll and then clicking, will not directly trigger it at the moment. It's seemingly random.
Assignee: events → nobody
QA Contact: ian → events
I haven't had this bug happen to me in a long time. I think it's no longer valid.
Yes, I would concur ... not had this happen in a very long time. Still plenty of bugs in the IntelliMouse driver, but this particular Mozilla bug appears to be gone now.
Scratch that. Now you mention this, I'm noticing it again :P Grr.
Whiteboard: [platform-rel-Intel]
platform-rel: --- → ?
platform-rel: ? → ---
Component: Event Handling → User events and focus handling
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.