Closed Bug 229175 Opened 21 years ago Closed 20 years ago

Can't scroll with mousewheel when a link in an overflow:hidden div has focus

Categories

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

x86
All
defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 97283

People

(Reporter: hao2lian.bugzilla, Unassigned)

References

()

Details

(Keywords: regression, testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6b) Gecko/20031218 Firebird/0.7+
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6b) Gecko/20031218 Firebird/0.7+

Going to http://dailyrotation.com/ and middle clicking any link (to load a new
tab in the background) will shift the focus to that link and will make mouse
wheel scrolling disabled until focus is shifted to the page, and not the link.
Testing in #firebird has shown that this occurs with a 0.8 branch build
(Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6b) Gecko/20031218 Firebird/0.7+),
a trunk build (12-16), a trunk Mozilla build (12-20, I think), and a Firebird
trunk build by noririty. This, however, does not occur on Mozilla Firebird 0.7.
All builds were tested with a brand new profile.

Reproducible: Always

Steps to Reproduce:
1. Go to dailyrotation.com.
2. Middle click on a link to open it in a new tab in the background.
3. Try to scroll down with a mouse wheel.

Actual Results:  
Nothing.

Expected Results:  
It should've scrolled down, like it has done previously.
Noririty tested the Mozilla build:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/2003122009
Also: This bug does not occur with Mozilla 1.5
Also: Tested with Win98SE and WinXP.
May also be worth noting that when I have tabs set to open in the foreground I
can wheel scroll on the story I opened in the new tab, but after closing this
tab, returning me to the dailyrotation tab, the wheel does not function there
until clicking within the document.

WinXP
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20031222
Odd... this is the first time I've seen this happen--usually it's the exact
opposite where I can't scroll with the keyboard, and it affects all pages
/except/ one.

OS -> All (I'm on Linux)

Notes: it only affects some links on the page (namely, not the ones next to New
Additions or Current Top Headline), it really /is/ focus problems since tabbing
to the links causes the problem too.
OS: Windows 98 → All
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Summary: [site-specific apparently] Middle-clicking a link to open it in a new tab to load in the background disables mouse wheel scrolling due to focus problems → Can't scroll with mousewheel when certain links have focus
The problem is the overflow:hidden div.  For an overflow:hidden div where part
is actually scrolled off, it makes sense for wheel scrolling to scroll the div,
at least until you get to the bottom of the div.  But this overflow:hidden div
doesn't have a height set, so it looks like a normal div.
Keywords: testcase
Summary: Can't scroll with mousewheel when certain links have focus → Can't scroll with mousewheel when a link in an overflow:hidden div has focus
Isn't this bug 97283?
Depends on: 97283
This bug has vanished mysteriously for me on the official 0.8 release:
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
Er, lack of activity, and that it's vanished -> WORKSFORME.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
I still see this bug at dailyrotation and at the testcase.  Reopening.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040306
Firefox/0.8.0+ (stipe)
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Aack, you're right. Should've tested it with a new profile. AiO 0.9.7 seems to
make this bug go away.
I can reproduce the problem in 2004-08-05-10 trunk Linux, but not in a debug
build with the patch for bug 97283 in it (should be fixed in nightlies shortly).


*** This bug has been marked as a duplicate of 97283 ***
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
No longer depends on: 97283
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: