Closed Bug 35191 Opened 24 years ago Closed 16 years ago

Alt-tab, mouseup on other app while scrolling --> scrollbar grabs mouse focus

Categories

(Core :: XUL, defect, P4)

defect

Tracking

()

RESOLVED WORKSFORME
mozilla1.1alpha

People

(Reporter: jruderman, Unassigned)

References

Details

Steps to reproduce:
1. Maximize mozilla on http://bugzilla.mozilla.org/ or another page with a 
scrollbar.
2. Open a notepad window so that when the notepad window is in front, it covers 
part of the content area.
3. Start dragging the scrollbar thumb.
4. While still holding the mouse down, alt-tab to the notepad window
5. Move the mouse over the notepad window.
6. Lift the mouse button
7. Alt-tab back to mozilla

Result: scrollbar follows mouse even though the mouse button isn't still down, 
except when the mouse is over a textbox or textarea.
reproduced on mac 2000040809, win2k 2000040809 but not on linux 20000408(Debug
build -- no comm bits today).
reassigning to saari as p4 for m18
Assignee: trudelle → saari
Priority: P3 → P4
Target Milestone: --- → M18
mass-moving all bugs to m21 that are not dofood+, or nsbeta2+
Target Milestone: M18 → M21
Target Milestone: M21 → Future
Would be nice to fix for Mozilla 1.0
Status: NEW → ASSIGNED
Target Milestone: Future → mozilla1.0
*** Bug 44778 has been marked as a duplicate of this bug. ***
*** Bug 44530 has been marked as a duplicate of this bug. ***
Blocks: 67277
*** Bug 76306 has been marked as a duplicate of this bug. ***
I just ran into this when an AIM window popped up in front of my browser window
while I was scrolling.
(I don't know, if I should post this here or at Bug 63375, 
 that seems to be a duplicate of this Bug, but is assigned
 to another target milestone)

Maybee its related to the following:
When right-clicking a link and choosing "Open Link in New Window",
the current browser window looses focus. But the link you right clicked
stayes in "active" state (e.g. red), until you return to the window and
click in it somewhere else.
I think, the link should go back to normal state before the window
looses focus, am I right?

I am not sure if this ist covered by Bug #27596
Should I file a new bug?
This could be related to bug 48037

*** Bug 63375 has been marked as a duplicate of this bug. ***
Target Milestone: mozilla1.0 → mozilla0.9.9
Target Milestone: mozilla0.9.9 → mozilla1.1
Blocks: 124140
Blocks: 140346
Last comment on this is over a year old, but I still keep seeing this bug on
linux. Is there any plan to fix this? 

Marking All/All since bug 63375 was All/All.
OS: Windows 98 → All
Hardware: PC → All
I can reproduce it this way (no other application needed):

1. Start dragging the scrollbar thumb (left mouse button)
2. Move the mouse cursor right to the desktop background
3. Press right mouse button
4. Release right mouse button
5. Release left mouse button
6. Move mouse cursor back to Mozilla window. The scrollbar
   thumb follows the mouse cursor althought there are no
   mouse buttons pressed

Switching 4. and 5. (release left mouse button first) does
not show the error.
I no longer see this error on Firebird 20030903 for Linux.  Anybody still seeing
it on other platforms?
I just tested this on Firebird on Win2k.  yes, the background window now longer
scrolls; however, there is a new and worse bug. If you follow the replication
formula when you get back to the Firebird window the scrollbar no longer drags.
The mousewheel will still scroll it and the scroll buttons on the scrollbar
still work but dragging it does nothing. Making a new tab produces a new
scrollbar that does work but the old tabs still don't work. Reloading the tab
fixes the scrollbar.

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030903
Firebird/0.6.1+
Doug - I saw that behavior once today, but was unable to reproduce it.  I'm not
sure if it should be a new bug or should just stay here...
$.02 -

Reproducing on firebird 0.7/win2k and following the procedure in comment #13, I
see the scrollbar following the mouse without any mouse buttons pressed, but I
am unable to reproduce any incorrect behavior by following the original method.
I presume this is the same bug:

I have a javascript onscroll event handler that displays an alert.  I click on
the arrow of the scrollbar; the page scrolls and the alert is displayed.  I
click OK on the alert, and it scrolls again.  (It is as if the click on OK was
also seen by the scrollbar.)  This continues, tediously, until the end of the
document is reached.

This is on Linux.
Assignee: saari → jag
Status: ASSIGNED → NEW
Assignee: jag → nobody
Can't reproduce this anymore. Seems to have been fixed.
Yes, it looks like it's fixed, I can't reproduce either.  Any objections to marking this WORKSFORME?
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.