Closed Bug 72981 Opened 24 years ago Closed 24 years ago

support back/forward using extra buttons on 5 button mouse

Categories

(SeaMonkey :: UI Design, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 30431

People

(Reporter: hewitt, Assigned: hewitt)

Details

Many people nowadays have 5 button mice - which essentially have two extra
buttons on the left and right of the mouse.  IE uses these buttons for the back
and forward commands in the browser.  As long as I've had my 5-button mouse I've
wanted badly to have this same support in mozilla, as it is pretty darn handy.

I told myself that if I could implement this feature tonight before I went home,
I'd do it.  Otherwise, I'd give up.  Fortunately it turned out to be pretty
easy.  Forthcoming patch is for windows only.  Not sure what it would take to do
this on other platforms.

Since I am 100% new to every c++ file I edited tonight, I'd advise that
reviewers take a good look at the patch and make sure I didn't forget anything
or do something stupid.
shoulda assigned it to me in the first place, sorry
Assignee: pchen → hewitt
Summary: support back/forward using extra buttons on 5 button mouse → support back/forward using extra buttons on 5 button mouse
Related: Bug 30431 (with an ever-growing swarm of dups)
After talking to Ben Goodger a bit I discovered that there are some cases where
back/forward are hooked up to the extra buttons.  If you have the Microsoft
intellipoint drivers running, and you happen to have an app included with the
driver up and running, they will send the combination "Alt-Left" and "Alt-Right"
to applications when you click the 4th and 5th buttons.  

However, this isn't something we can really count on, as it's been pretty flaky
for me.  My patch enables true support for the buttons by firing
mouseup/mousedown events for the 4th and 5th buttons and setting the
event.button property to 3 or 4.  
Status: NEW → ASSIGNED
Whoops, silly me should have queried bugzilla before I filed this one.  Marking dup.

*** This bug has been marked as a duplicate of 30431 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Something's wrong somewhere in verifying.
Status: RESOLVED → VERIFIED
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.