scroll wheel is scrolling page, not textarea, when focussed on textarea




16 years ago
15 years ago


(Reporter: msgport, Assigned: Brian Ryner (not reading))


Windows 98

Firefox Tracking Flags

(Not tracked)




16 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0rc1) Gecko/20020425
BuildID:    2002042506

The use of middle button to scroll the page fails when the caret input is focues
at a multi-line text input box (not single line input)

Reproducible: Always
Steps to Reproduce:
1. Get a page with multi line text input
2. type something in the box (and don't lose the focus)
3. scroll using the middle button

Actual Results:  fails to work

Expected Results:  Should also be able to scroll

Comment 1

16 years ago
Confirmed Win2000sp2 2002042406-1.0 branch.

Looks like the sort of thing someone would claim as a feature-not-a-bug. Though
then I'd expect the scroll wheel to move the caret back and forth through the
text (my phone, a Sony [Ericsson] CMD-J6, does this for entering SMS text
messages), though probably only on the basis of 'intuitive is what is expected'.

I would suggest 'User Interface Design' as the component.

I'm not sure this rates as 'major' ...

Comment 2

16 years ago
Sorry but I just wish to clarify. Maybe my words are not clear enough. Scroll
does not move the caret, but SCROLL the page. this works when the input text
field is single line.

Comment 3

16 years ago
What mouse are you using and what driver + version ? I can't test but
judging from bugzilla this should work.
Summary: Failure to use the middle scroll of mouse in multi line text input → scroll wheel is scrolling page, not textarea, when focussed on textarea

Comment 4

16 years ago
I am just using simple PS/2 mouse that runs without any drivers...

Just a simple general compatible mouse...

Comment 5

16 years ago
This Win2k box has three mice connected to it!

1. HP 5185-2485 optical mouse (Microsoft USB HID-compliant driver 5.0.2183.1)
2. Genius Netscroll+ ordinary mouse with ball (Microsoft PS/2 driver 5.0.2183.1)
3. Wacom graphics tablet (Microsoft USB HID-compliant driver 5.0.2183.1)

and this bug happens consistently with all three.

I really don't think it's weird stuff in the mouse driver ... or if it is, with
the generic MS mouse driver, it's something we'd pretty much have to work with/

Comment 6

16 years ago
The reason I asked was because I couldn't find a duplicate, and this
is bound to be a dupe unless it's a very recent regression ...

Comment 7

16 years ago
It's not recent... I've seen this since I get my first copy of Mozilla abt 2
weeks ago. Just that I haven't use to the bugzilla system.

Comment 8

16 years ago
Hm, I agree with David, that this is a feature and not a bug.

Let us take _this_ page.

If I have the cursor in the "Keywords"-input-field, mouse-wheel will scroll the
page, and that is good, because there is no reason to scroll any other thing.

If the cursor is in the "Additional Comments"-input-field, the mouse wheel will
scroll the text in this input field, if the text has more lines than the input
field (scrollbar visible), and it will scroll nothing if the written text is
short enough (no scrollbar at the input-field visible). I think that is ok.

It could  be discussed, weather mozilla should be able to decide:
- short text, scroll page
- long text, scroll text

Comment 9

16 years ago
I agree now... so can it be realized? I think it is a good idea to have it more
user friendly... we have the direct mind that for sure, what scroll should do rite?
is this still a problem with mozilla 1.1b ?
wfm with win2k build 20020724 and MS Intellimouse Explorer

Comment 11

16 years ago
WFM with Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1b) Gecko/20020722

Comment 12

16 years ago
This bug's component should really be "XP Toolkit/Widgets".

I think that IE works very well in this regard.  If the textarea has enough text
that it needs to scroll, then the mousewheel scrolls the textarea.   If the
textarea has a short text (no vertial scrollbar, or vertical scrollbar disabled)
the mousewheel scrolls the main window.

I haven't dug very far into the code, but the necessary change would be in
nsEventStateManager::GetNearestScrollingView()  Right now it merely checks the
view to see if it supports scrolling.  If I get a chance, I may be able to put a
patch together in the next week or so.
Ever confirmed: true
XP toolkit
Assignee: Matti → jaggernaut
Component: Browser-General → XP Toolkit/Widgets
QA Contact: imajes-qa → jrgm

Comment 14

16 years ago
-> bryner
Assignee: jaggernaut → bryner

Comment 15

16 years ago
is this still happenning ?
May have been fixed with fix for bug 33732.

Comment 16

15 years ago
setting to minor, although it might be an enhancement.
Severity: major → minor
*** Bug 207144 has been marked as a duplicate of this bug. ***
This is a dupe of bug 62431

*** This bug has been marked as a duplicate of 62431 ***

*** This bug has been marked as a duplicate of 62431 ***
Last Resolved: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.