Closed Bug 176458 Opened 22 years ago Closed 20 years ago

GTK horizontal scrollbar not scrollable by mouse wheel

Categories

(Core :: XUL, defect)

All
Linux
defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 71464

People

(Reporter: holyspirit, Assigned: bryner)

Details

User-Agent: Hello, this is not a browser, this is a human. Build Identifier: When hovering on horizontal scrollbar and scroll using scroll wheel in normal gtk app, the document will scroll horizontally, however, it seems that there is no way to scroll horizontally in mozilla. Reproducible: Always Steps to Reproduce: 1. open a page that will have horizontal scrollbar 2. try move scroll wheel when hovering on it Actual Results: Document got scrolled vertically. Expected Results: Document should scroll horizontally.
-> bryner
Assignee: jaggernaut → bryner
gtk issue, so OS->Linux. reporter (Alan): can you reproduce this bug with a recent build of mozilla (for example, 1.3a)? if so, please comment again with details. if not, please resolve this bug as WORKSFORME. thanks.
OS: All → Linux
i have tested on 2002123005 using these steps :- 1. make the window narrower until horizontal scroll appears 2. hover the mouse on horizontal scroll 3. scroll the mouse wheel 4. the document scrolls vertically
sorry for the spam, just a few more to say... 1. using m.o nightly. 2. Other GTK apps will scroll horizontally when the mouse is hovering on horizontal scrollbar and then the mouse wheel is scrolled.
anybody can confirm this bug and mark it as new? it has been unconfirmed for a long time... the bug is still here and not fixed.
It seems that this bug is still open. Tried with mozilla 1.4b, and it doesn't work. I use gtk2. but I want to add that horizontal scrolling is possible when you got mouse with 7 buttons (as XFree count them : 4 5 normal wheel, 6 7 second wheel or back/next as you prefer). PLEASE COULD SOMEONE PASS IT TO NEW ? (I ve tested it and it is still open )
If I understand right what's going on, scroll events are handled early by mozilla and bypass the normal event flow: normally the scrollbar reacts to them by scrolling to the right and moving the document along with it. Here mozilla receives the scroll event, decides if it should move and how much, and asks back the document and the scrollbar to move. This complicaion may be useful to provide smooth scrolling. So there are two ways to fix this: inherit from the gtk scrollbar to get a scrollbar with smooth scrolling; this would have been sensible in the beginning as it makes event propagation more straightforward but maybe is not worth the effort now; or make mozilla understand scroll events on horizontall scrollbars, see bug 71464.
As this bug explicitely wants horizontal movement when hovering above the horizontal scrollbar this is a dupe of bug 71464 (which is for all platforms) as OnyxG7 already discovered. *** This bug has been marked as a duplicate of 71464 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.